Prevent a node from becoming a "folder" when a node is dropped on it
See original GitHub issueHi, I’m working with dnd. Normally when I dnd over an node that have no children, it becomes in a node with children (I call it folder in my specific case).
So, I know that I can use the state: { dropable: false },
option. The problem is when I apply this to all my nodes with no children and the parent node is expanded, there is no way to drop any node inside, is like thers’s no droppable area available.
Is there any way to handle this? Thanks in advance.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
jstree prevent moving node into child nodes - Stack Overflow
The issue I'm having is that I'm not sure how to set that some nodes are not folders. Every node has a class...
Read more >How to disable the dropping of an node next to the root node ...
Hello, I'm using the RadTreeView with only ONE root node. My ItemsSource is FolderData. FolderData has only one Item - the root node....
Read more >Prevent drop in some nodes | ASP.NET MVC Forums
In this sample, We have separated nodes in Folders and Files, The folder nodes can be able to drag and drop but file...
Read more >KNIME Workbench Guide - KNIME Documentation
Nodes can be moved into the workflow editor by dragging and dropping them. ... public folder on the KNIME Hub including data they...
Read more >How to block dropping ON certain nodes while allowing to ...
Hi DevExperts, I'm implementing a treelist which will work a bit like Windows Explorer, i.e. a tree of folders and documents.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi. Yes, it is a bug. I will fix it as soon as possible. Thanks for the example
Awesome! You’re the best my friend! Thanks