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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to add row of GridControl to Row of GridControlBase

Thread ID:

Created:

Updated:

Platform:

Replies:

59461 Apr 13,2007 05:56 AM UTC Apr 13,2007 04:04 PM UTC WinForms 1
loading
Tags: GridControl
Raghav
Asked On April 13, 2007 05:56 AM UTC

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

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.

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

;