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

How can i access the saved row on save event in grid ?

1 Answer 168 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 26 Jun 2012, 04:34 AM
My grid use batch editing. When i change value of a column, it will call save event. I want to access the edited row in that event. Please help me..

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 26 Jun 2012, 07:13 AM
Hello Steve,

In the arguments of the event you will recieve the cell whcih is edited:
http://www.kendoui.com/documentation/ui-widgets/grid/events.aspx#save

From that cell you can get reference to the corresponding row element:
gridInstance.bind("save", function(e) { 
    console.log(e.container.closest("tr")) ;
});


All the best,
Nikolay Rusev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Steve
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or