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.

Auto scrolling when dragging and dropping onto a GrdiDataBoundGrid

Thread ID:





30350 Jun 16,2005 09:20 AM Jun 16,2005 09:51 AM Windows Forms 1
Tags: GridControl
Asked On June 16, 2005 09:20 AM

I have a GridDataBoundGrid onto which cell contents from another GDBG can be dragged and dropped. Is it possible to have the destination GDBG autoscroll when the destination cell is not in view i.e. the GDBG will autoscroll down when the user drags to to bottom of the cells in view (similar to auto scrolling behaviour in windows explorer)? Thanks, Dave

Administrator [Syncfusion]
Replied On June 16, 2005 09:51 AM

This is the default behavior. If the mouse hits the edge of the grid, the grid starting scrolling. Here is a little sample. http://www.syncfusion.com/Support/user/uploads/GDBG_DnD_abf07417.zip If you are doing your own D&D, then in DragOver you would have to manage the auto scrolling yourself. This normally involves setting a timer when you want the autoscroll to take place, and in the tick event, scroll the grid.


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.