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_Related Related Topics sp_TopicIcon
Looking for a method to speed up addJSONData function in IE
09/05/2012
22:26
Avatar
deek
New Member
Members
Forum Posts: 2
Member Since:
09/11/2011
sp_UserOfflineSmall Offline

In our jqGrid setup we are pulling 500 rows back from our database over JSON.  Running a .jqGrid('getGridParam', 'totaltime') in Chrome & Firefox givs us about 200-300 ms and around 6x, 1200-1600ms, in IE7-9.  Now I know that running anything more than 100 rows is akin to death in IE but is there anyway to spee this up?  I profiled the code and addJSONData is the function that is taking the most time.  Would saving the JSON respose we use to a JS variable then useing datatype local be any faster?

If we reduce the display count to 20-100 rows IE performs just fine.  Is it possible to render rows is groups of 20-50 such that the user will see those first few rows appear right away but will lood the other 450+ as time goes on?

10/05/2012
08:24
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

In such kind of questions you should alwas include the code of jqGrid which you use and include at liast one row of data which you use. For examle do you use gridview:true option of jqGrid? You can make grid slowly by some actions in the loop inside of loadComplete or gridComplete.

Best regards
Oleg 

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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

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

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information