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.
Up arrow icon