Forum


20:17

09/11/2009

I want to have "real-time" information in my grid. To do that, I refresh every five seconds the grid:
setInterval(function(){jQuery("#list1").trigger("reloadGrid");}, 5000);
Unfortunately the refresh is visible: the grid is empty during a few milliseconds and filled after.
How to eliminate or decrease this "flash" effect ?
13:32

Moderators
30/10/2007

Hello,
Suppose this is not possible with jqGrid.
You should have a faster network connection, not busy database and at last if you load not much data it will work - not sure if I understand the problem.
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.
10:12

Moderators
30/10/2007

Hello,
Did you mean to remove the Loading... message or something elese.
It seems that I do not understand right
Best 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.
01:44

09/11/2009

You don't understand because I don't explain correctly !
I try with another words
With
setInterval(function(){jQuery(”#list1″).trigger(”reloadGrid”);}, 5000);
I refresh every 5 seconds one grid.
Each 5 seconds the content of the grid is deleted and is replaced by a new content
Between the deletion and the insertion there is a gap (a time gap) and this gives the impression of flashing or blinking.
If the content of the database didn't change during 5 seconds, I should not see this effect (with ajax implementation).
Most Users Ever Online: 715
Currently Online:
50 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