When $(“#jqxgrid”).jqxGrid(‘unselectrow’, row-number) is called in multi-select mode with multiple rows selected, the rowunselect event handler is passed the index of the last row selected instead of row-number. This can be reproduced using the row select demo and a debugging console to invoke the API call. The row will be unselected in the grid, but the Unselected Row Index will show the last row selected. If additional currently selected rows are unselected via the API, the Unselected Row Index will be -1.
The rowunselect event handler is passed the correct row index if the row is unselected by clicking on the row in the grid.