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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to insert row at particular row index?

Thread ID:





117568 Nov 10,2014 07:37 AM UTC Nov 11,2014 04:51 AM UTC WinForms 1
Tags: GridGroupingControl
Asked On November 10, 2014 07:37 AM UTC

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

Regards ,

Maniratheenam Sehar [Syncfusion]
Replied On 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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon