Custom Editor with Inline Editing

2 posts, 1 answers
  1. Answer
    Stephen
    Stephen avatar
    24 posts
    Member since:
    May 2011

    Posted 28 Oct 2013 Link to this post

    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
  2. Stephen
    Stephen avatar
    24 posts
    Member since:
    May 2011

    Posted 29 Oct 2013 Link to this post

    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.
Back to Top