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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid Drag Copy

Thread ID:





61963 Jun 5,2007 01:36 PM UTC Jun 5,2007 10:49 PM UTC WinForms 2
Tags: GridControl
Randy VondrakNO longer coding .NET
Asked On June 5, 2007 01:36 PM UTC

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

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 10:49 PM UTC

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.

Best regards.


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