Concerning metadata saved in other pages when using pagination
Concerning metadata saved in other pages when using pagination
rvgraham
Posts: 28Questions: 5Answers: 0
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
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
This discussion has been closed.
Replies