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.

Grid Drag Copy

Thread ID:

Created:

Updated:

Platform:

Replies:

61963 Jun 5,2007 09:36 AM Jun 5,2007 06:49 PM Windows Forms 2
loading
Tags: GridControl
Randy VondrakNO longer coding .NET
Asked On June 5, 2007 09:36 AM

I'm trying to start a dragenter and capture the starting cells value and coordinates, then build a range and highlight the cells as I dragover them. At dragDrop I want the starting cell value to populate all of the cells in the range with the same value. Just like Excel has, I don't want it to copy the value to the cells until the drop so the user can go up and down the column to expand and contract the range prior to the drop.

Randy VondrakNO longer coding .NET
Replied On June 5, 2007 10:37 AM

More to the point I guess I wanted to know if anyone had some examples of how to handle the dragover. I need to first off to have the selection frame appear on a drag rather than just on a selection and then secondly build the range then populate the selection. i can capture the data from the cell and build a range but can't populate selected cells nor show the selection frame around what is in the range.

haneefm [Syncfusion]
Replied On June 5, 2007 06:49 PM

Hi Randy,

To catch this utility, the ExcelMarkerMouseController from the ExcelSelectionMarker sample can be used which, enables dragging at the bottom right corner of a cell and on release you can get the affected cell range. At this point you have to affect copying into the range using whatever algorithm you want to use to fill the expanded range. Below is a forum thread that talk about the similar event.
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=23046

Best regards.
Haneef

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.

;