fn_GetNodes() when not visible

fn_GetNodes() when not visible

rpmatthewrpmatthew Posts: 13Questions: 0Answers: 0
edited January 2012 in General
I am using fn_GetNodes and looping to find if that row still exists in the json received. If not then I add it.
Problem now is that when I filter using the 'Search' the fn_GetNodes does not appear to be showing the visible rows.
Is there a better way to get collection of all rows - displayed or not?

Replies

  • allanallan Posts: 63,538Questions: 1Answers: 10,476 Site admin
    edited January 2012
    The API method fnGetNodes will always give you all TR elements that are available to the table, regardless of filtering.

    DataTables 1.9 has a new API method called $ which provides a lot more flexibility: http://datatables.net/docs/DataTables/1.9.beta.2/#$ .

    Allan
This discussion has been closed.