Retaining checkbox selections in a DataTable backed by an HTML table (client-side only)

Retaining checkbox selections in a DataTable backed by an HTML table (client-side only)

u2fanu2fan Posts: 10Questions: 0Answers: 0
edited June 2010 in General
Hi there

I have a checkbox on each row in my table. When a row is checked (i.e., selected) and the user navigates to a different page, I want that selection to be persisted somehow, so that when the user returns to the original page the selection is as it was before.

It looks like DataTables creates its own representation of the contents of the table in the original DOM, and keeps an internal cache of what it has converted to this representation so far.

I tried using the fnDataUpdate() function to alter the internal data, but this did not work.

Some pointers would be really appreciated! Thanks.
This discussion has been closed.