The method call $(‘…’).getGridParam(‘selrow’)Â gives the sequential ID of the selected row if the grid is not sorted.
But after you sort by any column, it gives the primary key column of the seleced row (the one with {key: true} in the colModel).
Is there some configuration parameter or something to prevent this inconsistency?
I’m creating the grid from an HTML table using the function tableToGrid.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top