Drag&Drop Overview

The KendoReact Drag&Drop functionality provides an easy way to implement drag and drop of native HTML elements or custom React components.

Depending on the type of the targeted React components, you can implement the Drag&Drop in two ways:

ninja-iconThe Drag&Drop is part of KendoReact, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.Start Free Trial

The following example demonstrates the Drag&Drop in action.

Change Theme
Theme
Loading ...

The example above showcases the Drag&Drop functionality—we register an element as draggable and provide four possible droppable elements. Additionally, we apply a visual clue to the drop elements to show where a drop is possible.

The Drag&Drop is part of the KendoReact Common Utilities component library. The procedures for installing, importing, and using the Common Utilities are identical for all components in the package. To learn how to use the Drag&Drop and the rest of the Common Utilities, see the Getting Started with the KendoReact Common Utilities guide.

Key Features

  • Auto Scroll—Automatically scroll the nearest scroll container when the dragged component is close to the edges.
  • Drag Hint—Render a copy of the original element to be used as hint during dragging.
  • Drag Handle—Allow drag only through interacting with a specified handle while still using the parent element for drop detection.
  • Hold to Drag—Enable dragging after holding the drag element for a specific period of time.
  • Minimum Distance—Display the drag hint after a a predefined distance is covered.
  • Axis lock—Enable dragging only on a single axis.
In this article
Key FeaturesSuggested Links
Not finding the help you need?
Contact Support