Does ensurerowvisible work with paging? I have set the selected row that is not visible on first page but the page that the selected row in on is not being displayed.
I tried putting the method in the ready function of the grid…
$(“#jqxgrid”).jqxGrid(
{
width: ‘100%’,
source: dataAdapter,
theme: ‘darkblue’,
pageable: true,
autoheight: true,
sortable: true,
altrows: true,
enabletooltips: true,
showstatusbar: true,
editable: true,
groupsrenderer: groupsrenderer,
groupable: true,
groupsexpandedbydefault: true,
closeablegroups: false,
selectedrowindex: 21,
editmode: ‘click’,
selectionmode: ‘singlerow’,
ready: function () {
$(“#jqxgrid”).jqxGrid(‘expandallgroups’);
$(‘#jqxgrid’).jqxGrid(‘ensurerowvisible’, 21);
},