Add structured hierarchy to the Drag & Drop plugin


Topic: Add structured hierarchy to the Drag & Drop plugin

fosterwebmarketing pro premium priority asked 2 years ago

Expected behavior

Summary: A hierarchy option that would allow the items to be sorted in such a way that they represent a "parent > child" relationship to an adjustable (potentially unlimited) depth.

Considerations:

  1. Each new "child" level could be represented with increasing left margins.
  2. A "collapse" and "expand" button (with icon) on each "parent" to hide or show its children.
  3. Related events and methods that trigger on change or compile a JSON object of the ordered structure.
  4. Customizable data- attributes whose values are picked up and included in the compiled JSON object.

Actual behavior

The Drag & Drop plugin does not have a structured relationship option.

Resources (screenshots, code snippets etc.)

Demo of very old plugin: http://dbushell.github.io/Nestable/

GitHub of the same very old plugin: https://github.com/dbushell/Nestable


mlazaru staff commented 2 years ago

Thanks for sharing your opinion. We will consider adding such option to the drag&drop plugin, or maybe adding drag&drop feature to the treeview plugin.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Open

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: -
  • Device:
  • Browser:
  • OS:
  • Provided sample code: No
  • Provided link: Yes