Get all the cells id after sort, search or next page action

Get all the cells id after sort, search or next page action

degenmdegenm Posts: 1Questions: 0Answers: 0
edited February 2010 in General
Hello,

I would like to know if it's possible to get all the cells id after a sort, search or next page action.
For example, there is 2 columns in the table:
Id and Total
The calcul of each Total take a long time and I have 7000 Id. So, firstable I would like to print all the id and to calculate with a method call by ajax just the first 25 results and when the client sorts the table, to calculate the new total for each 25 new results etc... But to calculate them, I have to get all the new Id.
Do you know if it's possible?

Thank you in advance for your answer.

M.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Sorry - I'm a little confused. So do you want the calculation based on all records, or just the ones on display? Have you seen this example: http://datatables.net/examples/advanced_init/footer_callback.html . Also, the API function fnGetNodes() will get all nodes on a table.

    Perhaps you could explain further / show an example?

    Allan
This discussion has been closed.