EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: agulas on November 08, 2013, 12:25:04 AM



Title: 'scrollTo' method is not working in datagrid
Post by: agulas on November 08, 2013, 12:25:04 AM
I'm using 1.3.3 and the scrollTo method of datagrid is not working at all.

my source code is
Code:
function reloadGrid() {
    $('#dg').datagrid('scrollTo', 18);
}

the 'dg' is datagrid id and pagesize is 20. but nothing happens when I click the reload button to call reloadGrid().
Did i use this method wrong?


Title: Re: 'scrollTo' method is not working in datagrid
Post by: stworthy on November 08, 2013, 01:28:43 AM
Please confirm if the specified row exists or not. If the row does not exist, nothing happens.