Hello Everyone,
I can succesfully add a new row by following code :
Now I want to select this new added row programmatically.
Because I add it above, selecting the first record would do the trick.
1) How do I select the first record in the grid?
2) How do I select a new inserted row in the datasource ?
1 answer would be sufficient :)
thx,
Gert
I can succesfully add a new row by following code :
$("#grid").data("kendoGrid").dataSource.insert(0, {
id: newId,
titel: newTitel,
creatiedatum: new Date()
});
Now I want to select this new added row programmatically.
Because I add it above, selecting the first record would do the trick.
1) How do I select the first record in the grid?
2) How do I select a new inserted row in the datasource ?
1 answer would be sufficient :)
thx,
Gert