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 add row of GridControl to Row of GridControlBase

Hi,

I have one row in GridControl B.
I have five rows in GridControlBase A.

Both rows Columns types are same.

How shall i add the row of GridControl B to GridControlBase A such that this row should be at sixth row.

Thankyou
Raghavendra.

1 Reply

AD Administrator Syncfusion Team April 13, 2007 04:04 PM UTC

Here is one way you can do it.


this.gridControl2.Selections.SelectRange(GridRangeInfo.Row(1), true);
this.gridControl2.CutPaste.Copy();
this.gridControl1.RowCount = this.gridControl1.RowCount + 1;
this.gridControl1.CurrentCell.MoveTo(this.gridControl1.RowCount, 1);
this.gridControl1.CutPaste.Paste();

Loader.
Live Chat Icon For mobile
Up arrow icon