Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kendo Grid equivalent of onEditComplete

Is there an event equivalent to onEditComplete for Kendo Grid where the event fires only after the content of the cell has been edited?

Documentation mentions "edit" event, but this fires as soon as the cell goes into edit mode (So this is equivalent to onBeginEdit).

The closest event with the desired behavior I found was the "save" event, but this event only fires when the content of the cell has been changed. I want an event that fires as soon as the cell goes out of the edit mode.

The grid's editmode is set to incell.

like image 300
l46kok Avatar asked May 10 '13 01:05

l46kok


People also ask

How do I edit the options of the Kendo UI grid?

The Kendo UI Grid's options can be modified through the setOptions method. Create a custom button in the grid's toolbar. Inside the grid's dataBound event obtain a reference to the button. Use the setOptions method to set the editable mode of the grid when the button is clicked.

Why limit number of records per page in Kendo UI grid?

Limiting the number of records per page to a reasonable count gives us the freedom to enable almost every functionality of the Kendo UI Grid, without worrying about the performance. Rendering 50 records per page even with 20 columns will result in 1000 cells, which will be handled really well by the browsers.

Is Kendo grid available in ASP NET MVC?

Yeah! the Kendo grid is successfully implemented in our ASP.NET MVC Application. Source Code. I hope you enjoyed this article. Your valuable feedback, questions or comments about this article are always welcome.

How to bind data to kendo grid using DataSource?

The Grid can be bound to local or remote data by using the Kendo UI DataSource component. Bind data to Kendo Grid by using AJAX Read action method. Change the datasource on change event of any HTML controls. Normally, a developer can bind the data to Grid by using AJAX Read method.


Video Answer


1 Answers

Use the Save event

(fired when the focus is moved outside of the cell being edited and before the cell is closed)

http://www.kendoui.com/forums/kendo-ui-web/grid/is-there-an-event-that-first-after-a-user-edits-a-cell-but-before-they-save-in-a-grid-with-batch-edit-and-incell-editing-.aspx.

like image 138
zomf Avatar answered Sep 24 '22 12:09

zomf