0

Is it possible to specify separate URLs for editing (editurl) and adding rows?

Sergey Metlov
  • 25,747
  • 28
  • 93
  • 153

1 Answers1

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.

Community
  • 1
  • 1
Oleg
  • 220,925
  • 34
  • 403
  • 798