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

Using Excell like options and data fill

Thread ID:

Created:

Updated:

Platform:

Replies:

23046 Jan 4,2005 01:59 AM UTC Feb 16,2006 10:36 AM UTC Windows Forms 4
loading
Tags: GridControl
Todd Armstrong
Asked On January 4, 2005 01:59 AM UTC

In a databound grid, I have set ExcelLikeCurrentCell and ExcelLikeSelectionFrame to true. I would like to be able to drag a cell like Excel to perform a fill of the column. Is that possible? If so, how? Thx.

Administrator [Syncfusion]
Replied On January 4, 2005 06:42 AM UTC

This sample shows how to drag the lower right corner of a selection to start a fill operation. It also raises an event showing the target range. But it does not actually do anything to the range to try to fill it. You would handle this event and fill the target using whatever algorithm you wanted to determine the fill contents. Grid\Samples\In Depth\ExcelSelectionMarker

Todd Armstrong
Replied On January 4, 2005 04:06 PM UTC

Clay, Thanks very much. I modified this sample to work with a GridDataBoundGrid as well. If you look at the modified attached, you can see how I applied to perform the drag and fill. Thx, Todd >This sample shows how to drag the lower right corner of a selection to start a fill operation. It also raises an event showing the target range. But it does not actually do anything to the range to try to fill it. You would handle this event and fill the target using whatever algorithm you wanted to determine the fill contents. > >Grid\Samples\In Depth\ExcelSelectionMarker > > ExcelMarker_9478.zip

Jonas Wilkstrom
Replied On February 15, 2006 09:58 AM UTC

Hello Todd and Clay When using these examples I would like the delete button to work in the same manner as in a regular select. >Clay, > >Thanks very much. I modified this sample to work with a GridDataBoundGrid as well. If you look at the modified attached, you can see how I applied to perform the drag and fill. > >Thx, > >Todd > >>This sample shows how to drag the lower right corner of a selection to start a fill operation. It also raises an event showing the target range. But it does not actually do anything to the range to try to fill it. You would handle this event and fill the target using whatever algorithm you wanted to determine the fill contents. >> >>Grid\Samples\In Depth\ExcelSelectionMarker >> >> > > > > > >ExcelMarker_9478.zip > >

stanleyj [Syncfusion]
Replied On February 16, 2006 10:36 AM UTC

Hi Jonas, In the attached sample you will find a similar try to get the dragged ranges filled, additionally selecting the filled ranges helps to delete the selection. Let me know if you are looking something different. Look for GetDraggedRangesFilled function of the class ExcelMarkerMouseController in the sample. Forum_23046.zip Best regards, Stanley

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

;