Hello,
I was hoping someone can help me out with an issue I have encountered when combining grid selection and sorting.
If using the existing example here and selecting a row and then sorting, the selection stays on the same row index but not the actual selected row entry.
However, when using this example, if selecting a row and then sorting it will keep the selection on the proper row entry.
My grid has selectionmode: 'checkbox'
(among other settings), is there a way to keep the proper row selection upon sorting when paging is active?
I am not sure that the paging is the key but from deduction it seems that it si – if it’s something else I would be happy to know what it is.
If needed, the datasource is taking the data using a PHP file via local test server. The grid has virtualmode
and pageable
set to true and the default rendergridrows
function. Further more the datasource
has sort:
set to ....jqxGrid('updatebounddata', 'sort')
.
Any help would be much appreciated.
Thank you in advance!