We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to insert row at particular row index?

I am using grid grouping control ,
I want to insert new row at particular row index.
Is any solution regarding this?

Regards ,

1 Reply

MS Maniratheenam Sehar Syncfusion Team November 11, 2014 04:51 AM UTC

Hi Paurnima


Thanks for using Syncfusion product.





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";


this.GridGroupingControl1.DataSource = dt;


Please refer the sample from the below link which illustartes this:







Please let me know if you have any other concerns.



ManiRatheenam S

Live Chat Icon For mobile
Up arrow icon