Hi,
When a record is added to grid ;it just adds to top of the rows in the grid by default.And we can retrieve the row item by below statement.
// returns first record in datasource of the Grid
$('#Grid').data().kendoGrid.dataSource.data()[0];
What if I click any header column of the grid which sorts grid list and try to add the new record and the record adds to end of list in Grid Data source then how to retrive that record which just got added to last row of the grid?
Is their a better way to retrieve the latest dirty row in the grid.
Thanks,
chatrapathi chennam
When a record is added to grid ;it just adds to top of the rows in the grid by default.And we can retrieve the row item by below statement.
// returns first record in datasource of the Grid
$('#Grid').data().kendoGrid.dataSource.data()[0];
What if I click any header column of the grid which sorts grid list and try to add the new record and the record adds to end of list in Grid Data source then how to retrive that record which just got added to last row of the grid?
Is their a better way to retrieve the latest dirty row in the grid.
Thanks,
chatrapathi chennam