DataTables 1.9 and total recordcount

DataTables 1.9 and total recordcount

mcraigmcraig Posts: 20Questions: 2Answers: 0
edited February 2012 in General
Is there any way or reason the total record count could be 1 greater than the total rows? I have a large recordset of data, about 2433 records. I know the number to be correct from several places but in this datatable, it shows 2434 every time and I'm not sure why. I will take the time at some point soon to look through the source and find out how many actual rows I've generated but I thought maybe someone had seen the behavior before...when I few smaller sets of data in the same grid, it seems to come up correctly but not with this one...and it's not going to be the largest set of data I have to make available to the client.

Thanks,
Mike

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Sounds odd. Could you use the DataTables debugger on your table please ( http://debug.datatables.net )? That will show us exactly what data is being loaded.

    Thanks,
    Allan
  • mcraigmcraig Posts: 20Questions: 2Answers: 0
    Turns out it was the data and a disconnect between the code that globally got me a count of the records but when the records were rendered in the table, the number was different...it's all good.
This discussion has been closed.