Home › Forums › Guriddo jqGrid JS › Help › Preserve row selection after client-side sort
I am using client-side sorting and am losing the currently selected row's “highlight” when any column header is clicked to sort the data.
This is in the options of the grid
"deselectAfterSort":true
thats the default.
Thank you — if that works, it will be a perfect solution.
However, the version of the jqGrid that I am using predates this feature.
No idea sorry
Hello,
Use onPaging Event to store the id. This is called before populating
Regards
Tony
I am using the onGridSort event to save off the ID of the selected row.
The is such one:
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:events
Thank you — I'd already found that wiki page but didn't see an event that occurs after the data is sorted in the grid.
How about gridComplete?
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS