JqGrid editurl value for local editing?

I have jqGrid with local data. I do not send any data to the server until the entire form is completed. My problem is that when a user adds / edits a row, jqGrid tries to publish the results to the server right away.

I tried to exclude the "editurl" attribute from the jqGrid call, but this results in a "No URL" error when the user clicks the "send" button in the popup form to add / edit entries.

I tried to insert a single hash "#" for the editurl value, but this also fails.

Any thoughts?

+4
source share
3 answers

editurl should be 'clientArray' in your case.

+11
source

Set editurl: 'url', cellsubmit: 'clientArray', cellEdit: true

or

here

+3
source

See this for a complete example of local jqgrid data.

local editing on jqgrid

Change the source data and your column model, and you're almost done.

This is not an oneline solution, but it seems to be a way to handle local editing.

+1
source

All Articles