Hello,
I found when I was playing with row selection that if you have mode selection set to ‘multiplerows’ and programmatically unselect a row, then the $('#jqxgrid').jqxGrid('getselectedrowindex');
method returns -1 while before unselecting it returned the last selected row.
To reporduce it I just render a jqxgrid with some registers and multiplerows selection mode on.
-Select more than one row.
-Get selected row index with $('#jqxgrid').jqxGrid('getselectedrowindex');
Returns last selected row.
-Open firebug or any javascript interpeter and unselect a row with $('#'+this.id).jqxGrid('unselectrow',rowIndex);
-Get selected row index with $('#jqxgrid').jqxGrid('getselectedrowindex');
Returns -1.
Is that an intentioned behavior?
Thank you!