Concerning metadata saved in other pages when using pagination

Concerning metadata saved in other pages when using pagination

rvgrahamrvgraham Posts: 28Questions: 5Answers: 0
edited November 2012 in DataTables 1.9
I have a column that shows img files that emulate the behavior of checkboxes. If the user clicks on one, it changes the img src to one that looks "checked". If the user goes to another page and then comes back to that same page, the img shown in this column is "remembered".

This has proven to be useful to me, as I don't have to write code to set the "checked" appearance of these "checkbox" images each time the user clicks to another page.

However, I want to be able to do a "Clear All" with regard to the checkboxes, but I can't see how the table allows me access to whatever metadata it's retaining regarding rows currently not visible.

I am also keeping track of the "selected" state in the accessible data (var oData = oTable.fnGetData()) but resetting the mData for all the rows does nothing to change the img seen when the viewer goes back to a page where they had previously clicked a checkbox (img actually as mentioned above) to the "checked" state.

I hope someone can follow what I'm asking and help me.

Bob Graham

Replies

  • rvgrahamrvgraham Posts: 28Questions: 5Answers: 0
    May have answered my own question... fnGetNodes() ???
This discussion has been closed.