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.

Copy Paste of rows

Thread ID:

Created:

Updated:

Platform:

Replies:

1288 Oct 11,2002 12:58 AM Oct 14,2002 02:21 AM Windows Forms 1
loading
Tags: GridControl
Raphael Eschmann
Asked On October 11, 2002 12:58 AM

Hi, I would like to copy and paste entire rows.(text and style), I try this: GridControl1.CutPaste.CopyRange(GridRangeInfo.Rows(6, 6)) 'Do a selection of a blank row GridControl1.Selections.Add(GridRangeInfo.Rows(7, 7)) GridControl1.CutPaste.Paste() When I ask the function "CanPaste", it returns TRUE But doesn't work... What's wrong Thanks

Administrator [Syncfusion]
Replied On October 14, 2002 02:21 AM

There appears to be a problem with the copy code recognizing a row range. We will look into this and get it corrected. In the meantime, I think your code will work OK if you use a cell range for the row, something like this: int row = 2; this.gridControl1.CutPaste.CopyRange(GridRangeInfo.Cells(row, 1, row, this.gridControl1.ColCount)); this.gridControl1.Selections.Clear(); this.gridControl1.Selections.Add(GridRangeInfo.Row(3)); 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.

;