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
clearGridData causing long running script error
11/03/2010
21:24
Avatar
JJslim
Member
Members
Forum Posts: 9
Member Since:
25/02/2010
sp_UserOfflineSmall Offline

I have a situations where I call clearGridData(true) function to clear the grid and reset the footer. This works fine with small result sets. However, when my grid contains around 100+ records the call to clearGridData causes both IE & Firefox to throw their "long running script" error and ask if you'd like to continue running the script or stop it. I posted this in the help section hoping their is a workaround for it but I am thinking this may actually be a bug.

Has anyone else experienced this?

- Jarrod

15/03/2010
21:00
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Thanks for this. I will check this. It seems like jQuery remove (used when we clear the data) does not do the job.

Do you have any additional information for this case - like do you have attached event or something elese to the rows or cells?

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.

26/03/2010
16:17
Avatar
JJslim
Member
Members
Forum Posts: 9
Member Since:
25/02/2010
sp_UserOfflineSmall Offline

Grid has approximately 20 columns in it. It's a read only grid so there is no inline editing or anything like that. Also there are no events attached to the rows. That's really all the extra info I have. If you need anything else let me know and I'll do my best to provide you what you need.

- Jarrod

31/03/2010
18:26
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Could you please send me a link to the problem? I can not reproduce this.

Thank you.

Best Regards

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/04/2010
15:29
Avatar
JJslim
Member
Members
Forum Posts: 9
Member Since:
25/02/2010
sp_UserOfflineSmall Offline

Upgraded from jQuery 1.4 to 1.4.2 and issue seems to have gone away.

06/07/2010
02:25
Avatar
google
New Member
Members
Forum Posts: 2
Member Since:
06/07/2010
sp_UserOfflineSmall Offline

I have also just had this problem calling clearGridData() in IE8 with about 240+ rows. Under 240 it seems to be ok.

jqGrid 3.7 and jQuery 1.4.2

Any ideas how I can fix this problem? Or if I am able to fix it at all?

James

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
64 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