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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

pasting more cells than copied

Thread ID:





4348 May 8,2003 02:19 PM UTC May 8,2003 06:21 PM UTC WinForms 3
Tags: GridControl
Terry Foster
Asked On May 8, 2003 02:19 PM UTC

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 02:48 PM UTC

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 05:27 PM UTC

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 06:21 PM UTC

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.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon