AD
Administrator
Syncfusion Team
November 17, 2004 03:14 PM UTC
You can add a row by calling grid.Binder.AddNew().
But inserting a row is problematic. Even if you insert a row outside the grid using dataTable1.Rows.Insert, it is added at the end of the DataTable.DefaultView until DataTable.AcceptChanges is called. So, if you want to insert a row, I think you will have to use DataTable.Rows.Insert, followed by dataTable.AcceptChanges.