Forum
November 2nd, 2014
A
A
A
Topic RSS
Offline
The forums are currently locked and only available for read only access


script problem when edit multiple rows
11/02/2011
08:24
08:24

k24
Member
Members
Forum Posts: 11
Member Since:
18/08/2010
18/08/2010

hi,everyone:
when I use this code in gridComplete event to edit multiple rows, I got a error ""A script on this page may be busy, or it may have stopped responding. You can stop the script now or you can continue to see if the script will complete."" .there are 300 rows in grid. Any better solution ?
var data = $(""{0}"").getDataIDs();
for(i=0;i<data.length;i++){{
jQuery('{0}').jqGrid('editRow',data[i],false,onCellEdit);
}}
for(i=0;i<data.length;i++){{
jQuery('{0}').jqGrid('editRow',data[i],false,onCellEdit);
}}
Forum Timezone: Europe/Sofia
Most Users Ever Online: 715
Currently Online:
188 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