like the title..
where should I put option for event for edit/delete/add form_editing in initialization?
in which array?
I used to create some buttons like some of the demos, assigned/bind them after initialization. but now I want to use their default button. but I got difficulties on binding the event of the dialog box like “beforeSubmit/afterSubmit” etc.
Typically one don’t call editGridRow and delGridRow directly. Instead of that one uses navGrid to add buttons in the navigator bar. The
navGridmethod hasclickevent handler with calls editGridRow or delGridRow (or other) depend on which button the user click.So if you use
navGridtoo you should useprmEdit,prmAddandprmDelparameters to specify you custom callback function likebeforeSubmit/afterSubmit: