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. Image for the cookie policy date

Auto scrolling when dragging and dropping onto a GrdiDataBoundGrid

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

1 Reply

AD Administrator Syncfusion Team June 16, 2005 01:51 PM UTC

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.

Live Chat Icon For mobile
Up arrow icon