EasyUI Forum
May 17, 2024, 05:11:46 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: 'scrollTo' method is not working in datagrid  (Read 10489 times)
agulas
Newbie
*
Posts: 2


View Profile
« 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?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!