Last Updated: 06 Feb 2018 10:06 by Satish
Created on: 16 Feb 2012 05:18
Category: Grid
Type: Feature Request
More Grid Events
I'd like to see an event for Grid contents modified (after-edit or after-add/delete, etc).  This would enable a sync with a DataSource, for instance, without further user action.  Presently, this is not easily achieved.
Posted on: 06 Feb 2018 10:06
"beforeChange" like event also missing.
Posted on: 15 May 2017 11:35
As of R2 2017 release the grid widget received an additional set of events:
Posted on: 16 Sep 2016 11:19
It would be good, if event set for kendo grid was equal to teleik ui for ajax radGrid
Posted on: 13 Sep 2015 15:09
Please consider adding Kendo Grid CellClose event. Internally kendo grid call CloseCell() to close the editor when focus is moved away.  kendo grid already have the model object.  All you would have to do is add a simple CellClose event for those of us that use complex custom editors.  This would allow us to do model adjustments or "cleanup" when the cell is closing.
Imported User
Posted on: 10 Feb 2015 21:30
There is an implementation here on StackExchange that does more or less exactly what is needed (Alternative 2).

I would like to have this build into the grid and with MVC bindings for the event though.
Posted on: 11 Dec 2014 11:33
Add a new event "BeforeEdit" in grid

I have a lot of situations when I need to check status of editing object in a grid.
If status is correct I should allowed editing object. If status is not correct I should prevent showing editing form.
Now I have two solutions:

The first: is not beautiful but fast:
I  can close popup edit form, that has been already created by inner mechanism of Kendo editing:

function Grid_OnEdit(e) {
        if (!isCorrectStatus(e.model.StatusID)) {
            var grid = this;
            setTimeout(function () {
                alert("Bad status!");

But the popup edit form flicks...

The second: do it “by hand”. Including even server validation…
Very slow…
Posted on: 17 Apr 2014 14:32
just god knows how many times I need events which occurs after : edit , add, delete and when user click cancel command the cancel event occurs before data-binding and the grid lost the selected row.
Posted on: 03 Mar 2014 11:29
Currently, if a field is editable based on other field (e.g. Locked) a check should be performed in "edit" event handler, and inside here call grid.closeCell(). But this causes the cell focus to be lost (when using navigatable=true in batch editing mode).

So a beforeEdit would allow the user to set some custom logic if needed.
Posted on: 24 Jan 2013 14:20
I'd like to see an ItemDataBound event for row databinding. A common use case is to highlight rows (eg change the styling) if the data meets certain criteria. There are plenty of questions around on the internet asking how to do this, and the colution of using DataBound and iterating over the data is, quite frankly, a poor solution and not at all performant.
Imported User
Posted on: 24 Jan 2013 14:15
an on ItemDataBound or RowDataBound would be very useful
Posted on: 31 May 2012 19:48
I have use for both a contentsModified and afterEdit events.
Posted on: 16 May 2012 22:28
I would also add that events should be fired for resize and reorder. I can't consider KendoUI's grid as it doesn't have this yet and it is needed. With the resize event it would be nice to have the event object contain each columns size.