Forum
10:33
23/07/2010
In IE, It seems that when you load large data set with depth of 4-5, a script will appear "A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer may become unresponsive".
jqgrid will exceed the maximum number of script that IE allows.
I tried to study the source code, and i think that the function getNodeParent will be called for each item.
the function getNodeParent will be called recursively.
do you have suggestion on how to fix this?
12:02
23/07/2010
In the getNodeParent function
this block of code below suggest that searching for the parent object uses bubble sort.
var parent_id = $t.p.treeReader.parent_id_field;
$(this.p.data).each(function(i,val){
if(this.id == rc[Parent_Id] ) {
result = this;
return false;
}
});
I think it would be faster if MAP of object is created and the id will be used as key
Most Users Ever Online: 715
Currently Online:
36 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