Is it possible to specify separate URLs for editing (editurl
) and adding rows?
Asked
Active
Viewed 93 times
0

Sergey Metlov
- 25,747
- 28
- 93
- 153
1 Answers
0
Using different prmEdit
and prmAdd
options of navGrid you can forward different options to editGridRow used in "Add" and "Edit" forms. If in both cases you need to use two different static URLs you can just use different values for url
parameters for Add and Edit options.
If you need have different dynamic URLs you can use onclickSubmit event handler which modify the URL just before the Ajax call. In the answer you can find corresponding code examples.