In our client side code, we have a function that uses
igtbl_getLength(grid.SelectedRows);
to get the selected row count. This works perfectly except when the user also has the filter row selected. The count is then 1 off. So if only 1 row is actually selected (beside the filter row) it says 2 rows are selected. Is there anyway to get the filter row to check if it is selected so I can then decrement the count?
Here's the JavaScript I would use. Please note that I haven't tested this, since I'm going primarily between memory and documentation.
var selectedRowCount = igtbl_getLength(grid.SelectedRows);var filterRow = grid.Rows.getFilterRow();if (filterRow.getSelected()) selectedRowCount = selectedRowCount - 1;
That worked perfectly, thanks!