This is a migrated thread and some comments may be shown as answers.
Custom Editor with Inline Editing
1 Answer 27 Views
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 1
Stephen asked on 28 Oct 2013, 09:49 PM
Hi,

I am building a grid with inline editing and custom editors. I am wondering how to set the value of a field in this scenario. I don't think I want to use model.set in the change handler of my control, because I don't want to commit the data until the user clicks the "Save" button. Do I have to handle the save and cancel events myself to commit the entered data to the model (or not in the case of a cancel)? Or is there a built-in way to do this?

Thanks,
Steve

1 Answer, 1 is accepted

Sort by
0
Stephen
Top achievements
Rank 1
answered on 29 Oct 2013, 09:49 PM
Nevermind. I realize now that calling model.set(field) will not commit the changes until after clicking "Save" and the data source completes the update.

Thanks.
Tags
Grid
Asked by
Stephen
Top achievements
Rank 1
Answers by
Stephen
Top achievements
Rank 1
Share this question
or