Standalone Editor or Secondary Editor
Standalone Editor or Secondary Editor
I want to have a custom button on the datagrid that when clicked it will open an editor, I'm thinking of using a simple Standalone editor? But I have to get the Id from the grid and one other value, an amount also from the grid to allow the user to update the amount. The user will have to select the row in the datagrid before clicking the custom button to open the editor. Is using a simple Standalone editor how this should be done or should I make a second editor that is bound to the datagrid? I'm new at doing this so I'm just trying to do it the best way possible.**:
Answers
Are you looking for something like this solution?
Kevin
Thanks for the response. I think what I'm going to do is create a second editor because I realized that I can display only the fields that need to be updated on second editor and when the user saves the changes I can apply any validations on the editor.on('preSubmit') event before passing the JSON to the stored procedure that saves the changes to the database.