I have multiplerowsadvanced set as the selection method. I am also using server-side paging, bound with json.
What I’d ultimately like to get is the json data for all the selected rows (or even just my primary key column), even if the user changes pages. I can get a list of all the row indexes that were clicked on, and the grid remembers those between pages, but I understand that the data is lost between pages.
I was hoping to build my own through the rowselect and rowunselect methods, but it appears that if I use multiplerowsadvanced, rowunselect is never called.
For instance if a user selects multiple rows across multiple pages by holding down CTRL+LeftClick and then decides to reset by just single-left-clicking, the grid correctly resets the selected indexes, however rowunselect is never called so I wouldn’t be able to reset my custom list of data gathered.
Is there an event that happens when selections are lost in multiplerowsadvanced mode? Or is there an easier way to remember the selection data across pages?