How to get the data displayed in the current page?
How to get the data displayed in the current page?

Hi everyone,
First, thank you for this fantastic plug-in!
Here is my problem: I don't have a huge amount of data to display in the table but i'm generating a knob (a small chart) for and on each row. The global processing takes long if it goes for every row of the table so I'm trying to figure out how I could get from the datatable the data currently displayed in order to process only the necessary knobs to display on the current paging.
Am I clear?
Thanks for you help!!
This discussion has been closed.
Answers
You can use
selector-modifier
to limit the rows to the page and other options. As shown in the docs you will use something liketable.rows( {page:'current'} ).data();
.Kevin