get current page data

get current page data

jiangdyjiangdy Posts: 6Questions: 0Answers: 0
edited November 2013 in General
Is there a way to get current page data ? I tried to use fnDrawCallback and fnInitComplete. In fnInitComplete only initial data you can get. fnDrawCallback will be triggered many times according to datatable redraws.
I want to use current page data to draw a plot, can you give me some help.

Best Regards

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Yes - use the `_` method: http://datatables.net/docs/DataTables/1.9.4/#_

    [code]
    table._('tr', {page:'current'});
    [/code]

    Allan
This discussion has been closed.