Forum



11:53

17/02/2011

Hi,
I have a problem regarding on the vertical scrollbar. For example, there are 100 records and the selected records is in 50th row. Everytime the grid is reloaded the scrollbar goes up and down. I already set the scrollrows: true but yet it doesn't solve the problem. If any solutions with this, it would be a great help on me. Thanks in advance.
Sam
13:04

Moderators
30/10/2007

Hello,
If you reload the grid with trigger - this will do the job
jQuery("#grid").trigger("reloadGrid", [{current:true}]);
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
04:14

17/02/2011

[Image Can Not Be Found][Image Can Not Be Found]Hi Tony,
Yes I applied that and also have no problem regarding on reloading the data. My only concerned is that the vertical scrollbar on the right of the grid always goes up and down everytime the grid refresh or reloaded.
Example:
[.] Grid will refresh or reload for an interval of 1 minute.
Question:
Is there any other way that the grid will reload without noticing or movement of the scrollbar?
Sam
Most Users Ever Online: 715
Currently Online:
60 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66