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.
Unfortunately, activation email could not send to your email. Please try again.

How to add row of GridControl to Row of GridControlBase

Thread ID:

Created:

Updated:

Platform:

Replies:

59461 Apr 13,2007 01:56 AM Apr 13,2007 12:04 PM Windows Forms 1
loading
Tags: GridControl
Raghav
Asked On April 13, 2007 01:56 AM

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.

Administrator [Syncfusion]
Replied On April 13, 2007 12:04 PM

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();

CONFIRMATION

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.

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.

;