I use the jqxGrid (3.0.2) that contains more rows than visible on the screen. Via javascript I try to select a the last row.
Using this function
function GotoEnd() {
var datainformations = $(‘#jqxGrid’).jqxGrid(‘getdatainformation’);
var rowscounts = datainformations.rowscount;
$(“#jqxGrid”).jqxGrid(‘selectrow’, rowscounts – 1);
$(“#jqxGrid”).jqxGrid(‘ensurerowvisible’, rowscounts – 1);
}
This functions does work, (selects the last row and makes the selection visible) if grouping is disabled, but does not work if grouping is enabled (selection works but will not scroll to selected row).
How should I select and ensure visibility of the last row in case of grouping.