Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






Looking for a method to speed up addJSONData function in IE

UserPost

22:26
09/05/2012


deek

New Member

posts 2

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?


08:24
10/05/2012


OlegK

Germany

Member

posts 1167

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 


About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

157


Currently Online:

silver11

57 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9657

Posts: 28943

Membership:

There are 10351 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1167

markw65 – 179

kobruleht – 144

phicarre – 126

YamilBracho – 124

Renso – 118

Administrators: admin (56 Posts)

Moderators: tony (7043 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information