Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
jqGrid 4,4,1 hanging on reload
23/01/2013
18:47
Avatar
BigJay
Member
Members
Forum Posts: 3
Member Since:
23/01/2013
sp_UserOfflineSmall Offline

Hey all.  We are using the grid on one of our internal pages with ~2000 records.  It loads up fine on the first load, but when we reload the grid, the request will take ~1 second, but the browser will hang for another 4-5 seconds to display the data.

Is there any fix other than adding pagination to display less than the 2000 records on the same page?

24/01/2013
10:14
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

You should search the origin of the problem in your code which you don't posted here. Typical error could be usage of multiple changes of the page instead of usage of cellattr, rowattr and custom formatter together with gridview:true option. You should search for origin of the performance problem presumably in your code from loadComplete or gridComplete. I recommend you to read the answer to understand what is refow. The answer and another one shows how to use cellattrrowattr. One more answer demonstracte how to rewrite code from loadComplete or gridComplete to improve dramatically performance to the grid rendering.

Regards
Oleg 

25/01/2013
16:36
Avatar
aram535
Member
Members
Forum Posts: 6
Member Since:
24/01/2013
sp_UserOfflineSmall Offline

I have had this issue, the easiest way to diagnose it like Oleg said was to use the *Complete functions.  I loaded up a firefox profile with FireBug and used console.log(...) to report back the status and that's how I found my issue.

Also, if you're using a dynamic data set, make sure it is running fast enough, one of my problems was that the php function wasn't flushing out the results fast enough, it was waiting until it had the full set before replying.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
44 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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information