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.

pasting more cells than copied

Thread ID:

Created:

Updated:

Platform:

Replies:

4348 May 8,2003 10:19 AM May 8,2003 02:21 PM Windows Forms 3
loading
Tags: GridControl
Terry Foster
Asked On May 8, 2003 10:19 AM

I looked around the samples, forums and knowledge bases for awhile but could not find any info on this. I want to do what Excel does: select one or more cells, copy those cells, then select a bigger rectangle of dimensions that are a multiple of the copied rectangle, and then paste, having the copied rectangle repeatedly pasted to fill the paste rectangle. Is there an option for this? If not, any suggestions on how I could do this manually and are there plans for this in a future release? Thanks, Terry

Administrator [Syncfusion]
Replied On May 8, 2003 10:48 AM

Take a look at the Syncfusion\Essential Suite\Grid\Samples\In Depth\ExcelSelectionMarker sample. It has a mousecontroller class that will let you drag the lower right corner of a selected range. It does not actually copy anything to the new selected range, but you can catch this action and do whatever to the ranges involved.

Terry Foster
Replied On May 8, 2003 01:27 PM

I did miss that one, but what about simple Ctrl+C/Ctrl+V functionality to do what I described above? Any built-in options for this? Thanks, Terry

Administrator [Syncfusion]
Replied On May 8, 2003 02:21 PM

Take a look at the grid.Model.CutPaste class. It has methods like Copy, Paste, CopyRange, ... that you can use to programatically copy and paste cells.

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.

;