Hello,
OK I understand what you mean and am trying to modify my code to do it this way.
Since I post to 'clientArray', the aftersavefunc is called with two arguments, the first being the row id, the second “true”.
How can I get my jqGrid id in the aftersavefunc ? I need it to be passed to my ajax server call the aftersavefunc does.
I also have a problem with some specific data (some reference values related to the page that contains one or several jqGrids) I know the value of this data when I execute saveRow, but I cannot pass its value to the aftersavefunc. How can I do it ?
I don't know why we chose to post to 'clientArray' but I guess this is related to the specific data we get here and there (they're computed server-side when we generate the javascript) and that are needed to make the save ajax call (contextual information).
Thank you for your input.
Barbara