jqGrid. Handle OnSave event
I use simple (non-tree) grid, inline editing, data, recieved from server. I need my function to开发者_如何学JAVA be called after any saving takes place (create new, edit exists).
You should use aftersavefunc
parameter of the editrow function which you use for the inline editing. If you don't need some parameter which are used before the aftersavefunc
parameter you should use null
excepting {}
for the extraparam
parameter (see the source code of the editrow).
精彩评论