Forum


10:05

There's a new feature in jqgrid 3.6 that allows full control over the ajax requests to the server but my success function is never called:
jQuery("#tester").jqGrid({
ajaxGridOptions : {type: 'POST',
success: function() {
alert("hello!");
}
},
datatype...
...
Is there something else that must be done to enable this functionality (calling success after post) when using ajaxGridOptions?
02:39

MamaliFrenchi said:
success is a call back function. do you have an URL for your ajax post? and if yes what are you sending back form your server?
Yes I have a url for the Ajax post and it returns everything to the grid successfully from the server. It's just that the success call-back function is never executed.
Does anyone have an example of any ajax call-back function working inside the 'ajaxGridOptions' of jqgrid?
02:56

Moderators
30/10/2007

Hello,
What is your datatype parameter? If it is local, xmlstring or jsonstring this will not work.
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:
75 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