Forum
11:17
11/02/2009
I am using jqgrid. My compliments to Tony for such plugin. I have necessity to capture the events for Insert, Update and delete record. I have difficulty because, the event "afterComplete" is activated only for insert and update; instead the event "gridComplete" only for insert and delete. Perhaps such behavior is a bug. I apologize me for my poor English, but I use an automatic translator. Thanks.
01:58
Moderators
30/10/2007
Hello,
I think you make a mistake between events in formediting and these for the grid. Please read carefull the documentation.
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.
13:12
11/02/2009
'It is evident that I have not expressed well my problem. The event “afterComplete”, valid only for the form, is activated when click the key submit for the functions insert and delete, but not for the update function. To overcome such problem, I capture the event “gridComplete” that is activated when click the key submit for the update function.
'It is evident that I have resolved my problem, but the function connected to the events is activated 2 times for the functions insert and delete, and once for the update.
Thanks.
Antonio
07:04
Moderators
30/10/2007
Hello,
Not sure if this is a bug, but this event is called with setTimeout 500 ms.
So you should expect some problems here if you set reloadAfterSubmit : true.
This way the grid is triggered and there is a big chance that afterComplete is executed on empty recordset in the grid. The event is usually used when reloadAfterSubmit is set to false.
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.
Most Users Ever Online: 715
Currently Online:
41 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