Veto GridEditEvent?

2 posts, 0 answers
  1. Lance
    Lance avatar
    6 posts
    Member since:
    Jan 2016

    Posted 31 May 2016 Link to this post

    I have a grid using inline editing, and I have "edit" buttons on each row to initiate editing. If one row is already editing when the user asks to edit another row, I would like to give the user the option not to edit the new row.

    I tried both our standard confirmation modal (which is asynchronous and uses Promises) and window.confirm(), and in each case the new row is moved into edit mode before I have a chance to cancel the edit.

    Is there some way to do this?

  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2596 posts

    Posted 03 Jun 2016 Link to this post

    Hello,

    You can create custom edit button, that you can fully control. Please check the following help topic:


    http://docs.telerik.com/kendo-ui/controls/data-management/grid/how-to/AngularJS/custom-edit-toolbar-button

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top