Easyui Datagrid Scrollto

// since 1.3.3
var dg = $('#dg');
var indexToFetch = 88;

// scroll to index (without pagination)
dg.datagrid('scrollTo', indexToFetch);

// scroll to index (using pagination)
var pager = dg.datagrid('getPager');
const pageSize = pager.pagination('options').pageSize;
const pageIndex = Math.ceil( indexToFetch / pageSize );
pager.pagination('select', pageIndex);
dg.datagrid('scrollTo', indexToFetch % (pageSize + 1));
TechNyquist