Skip to content

DND: 3 new features - #2689

Open
rajniszp wants to merge 3 commits into
vakata:masterfrom
rajniszp:master
Open

DND: 3 new features#2689
rajniszp wants to merge 3 commits into
vakata:masterfrom
rajniszp:master

Conversation

@rajniszp

@rajniszp rajniszp commented Jan 16, 2023

Copy link
Copy Markdown
Contributor

This PR introduces 3 new features for DND, all configurable via parameter:

  • drag_all_nodes: controls whether all nodes are dragged instead of only top level selected nodes (ignoring children of selected nodes)
  • preserve_nodes_order: controls whether nodes that are dragged should be kept in the original order from origin tree (when true) or in order of selecting (when false)
  • disabled: a boolean indicating if dnd should be enabled or not, useful if you want to dynamically disable/enable editing of the tree

If left not specified, default values are used that do not change anything compared to before commit (non breaking change).

@vakata vakata added the v3 label Jan 16, 2023
@rajniszp

Copy link
Copy Markdown
Contributor Author

Any update? :D

@ArunPatal

Copy link
Copy Markdown

This change look useful to me 👍

@rajniszp

Copy link
Copy Markdown
Contributor Author

Hi, just reminding of this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants