javascript - jqgrid aftersavefunc not firing -


i'm using jqgrid 4.8 javascript, i'm using inline edit , clientarray. now, want change value in cell , save row, code is:

$("#jqgrid").jqgrid('setcell', rowid, 'comments', 'test'); var saveparameters = {     "successfunc": null,     "url": 'clientarray',     "aftersavefunc": function (rowid, response, options) {         alert('b');     },     "extraparam": {},     "errorfunc": null,     "afterrestorefunc": null,     "restoreaftererror": true,     "mtype": "post" }; $("#jqgrid").jqgrid('saverow', rowid, saveparameters); 

...but alert never fires. doing wrong?

this fire if call:

 $('#jqgrid').jqgrid('editrow', rowid, false); 

reference:

http://www.trirand.com/jqgridwiki/doku.php?id=wiki:inline_editing#saverow


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -