Extensions for adding automatic scrolling during drag'n'drop to a Vaadin Table or Panel.

DNDScroll is an extension add-on for Vaadin 7 (1.x branch) and Vaadin 8 (2.x branch). It contains TableAutoScrollExtension and PanelAutoScrollExtension, which both add automatic scrolling when a dragged element is hovered near the end or the beginning of the layout.

NOTE: this extension replaces the default implementations of VDragAndDropManager and VDragAndDropWrapper with extended custom versions to enable the autoscroll functionality. If you have any other custom implementations of these classes in your project, you'll need to combine them manually.

For an example of how to use the extensions, see the side panel and the sources.

Tested from 7.6.0 up, might work with older versions as well.

Install

Link to this version
ExperimentalReleased 23 April 2018Apache License 2.0
Framework Support
Vaadin 8.0+
Also supported:
Vaadin 7 (1.0.2)
Install with
Release notes - Version 2.0.2
  • Fix for excess auto scroll
  • Limit auto scroll to source and its children