PDA

View Full Version : Retain CheckBox Selections across Pagination



Sandeesh
15 Mar 2011, 10:09 PM
How to retain CheckBox Selections Across Pagination.
My Selections Disappear as i navigate across the pages.

Thanks

mitchellsimoens
16 Mar 2011, 4:42 AM
You're going to have to deal with that yourself, the framework has no way.

What I would do is have an array of IDs that have been selected (listen for selectionchange event to update that array). Then listen to the refresh event and then go through those records to see if they match any in the array. If they do, select them. Make sure you test for stability in that though.