I need to make jqGrid to dynamically set edit & delete urls, depending not only on selected row’s ID, but also on the content of other row’s columns.
All the examples I’ve found, deal with onclickSubmit which has only “id” field exposed. Any tips?
I need to make jqGrid to dynamically set edit & delete urls, depending not
Share
There is only one value for editing and deleting: ‘editurl’. So you will only need to update that one. You can change the value for editurl with setGridParam, like so:
If you want to build that URL using logic based on the contents of the currently-selected row, then do something like this: