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.
Syncfusion Feedback

Paste with noncontiguous selection?

Thread ID:

Created:

Updated:

Platform:

Replies:

20696 Oct 22,2004 05:25 PM UTC Oct 22,2004 07:50 PM UTC Windows Forms 1
loading
Tags: GridControl
Justin Koh
Asked On October 22, 2004 05:25 PM UTC

I am trying to paste a value into a non contiguous selection. The values only go into the last range shown. Is there another way to do this without overriding rewriting most of the paste code? Some flag I can set?

Administrator [Syncfusion]
Replied On October 22, 2004 07:50 PM UTC

So, you are trying to paste 1 value into many non-contiguous cells? If this is what you want, there is no property setting that will allow you to do this. You would have to code this yourself. You can handle the grid.ClipboardPaste event, and do the work there. Here is a rough sample that does something close to this. It copies a currentcell and places this on the clipboard with a special name, and then pasted in many cells in the paste. It is not clear you would need to use a special name format. Forum_CopyPaste_4723_6348.zip

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

;