abdul
asked on 08 Apr 2025, 10:33 AM
| edited on 09 Jun 2025, 05:46 PM
Hi,
I want to load a kendo grid, after load the grid should add a new row at the bottom of the grid.
When the Kendo grid loads then, it is creating the new row, but after that it will load the records from the database and then refresh the screen and the new row is removing.
1 Answer, 1 is accepted
0
Accepted
Mihaela
Telerik team
answered on 11 Apr 2025, 09:08 AM
Hello Abdul,
The easiest approach is the following:
Set the AutoBind(false) option, which will prevent the initial data binding of the Grid when it is loaded.
Within the $(document).ready() function, get a reference to the Grid and call the read() method of its DataSource to request the data.
When the Read request finishes, call the AddNewRow() function. This way, the new row will be added when the Grid's data is completely loaded.