If we add any record, after save it should by default select the
record which has been added if it exists in the grid.
How do we achieve this in Kendo?
1 Answer, 1 is accepted
answered on 15 Jan 2014, 11:44 AM
There is not a built-in functionality that covers your requirement. You can use the dataBound event of the Grid, so every time the Grid is bound to the new data, you can select the first row of the grid, as the new item is placed there. The problem comes from the fact that you need to know if a new item is added or and existent one was edited, so you can use the edit event to set a global flag that will tell you if the item is new or not. Please check this example I made for a possible implementation: