Is it possible to specify separate URLs for editing (editurl) and adding rows?
Is it possible to specify separate URLs for editing ( editurl ) and adding
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Using different
prmEditandprmAddoptions 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 forurlparameters 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.