The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
MSManiratheenam Sehar Syncfusion Team November 11, 2014 04:51 AM UTC
Hi Paurnima
Thanks for using Syncfusion product.
Query:
How to insert row at particular row index?
For inserting or appending a record to the Grid, we have
to access the DataSource of the Grid as DataTable and we can add a new row in
that, and again we can binded it to the Grid.
Please refer the below code snippet which illustartes
this:
DataTable dt = this.GridGroupingControl1.DataSource as
DataTable;
DataRow dr5 = dt.NewRow();
dr5[0] = "6";
dr5[1] = " rachel";
dr5[2] = "1";
dt.Rows.Add(dr5);
this.GridGroupingControl1.DataSource = dt;
Please refer the sample from the below link which
illustartes this: