This is a migrated thread and some comments may be shown as answers.

Veto GridEditEvent?

1 Answer 49 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lance
Top achievements
Rank 1
Lance asked on 31 May 2016, 10:04 PM

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?

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 03 Jun 2016, 06:54 AM
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!
 
Tags
Grid
Asked by
Lance
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or