Skip to content Skip to sidebar Skip to footer

How To Force Dataproxy Call In Form Editing If Editurl Is Set In Jqgrid

jqGrid is defined using code below. editurl is used for inline edit. dataProxy is used to upload images in form edit. However dataProxy is not called if save button is pressed in f

Solution 1:

You don't describe the goal of the usage of dataProxy, but if you really need to use the feature you should bu following:

  • you should define dataProxy as callback of jqGrid. You can use $.extend to change $.jgrid.defaults.
  • either url for Add/Edit or Delete operation should be null or you should set useDataProxy option of editGridRow or delGridRow to true explicitly (for example to overwrite editurl which are not null).

So in your case you should just move dataProxy from the list of Edit dialog to the list of jqGrid options.

Post a Comment for "How To Force Dataproxy Call In Form Editing If Editurl Is Set In Jqgrid"