Use DnD when tree is created by HTML (with ASP.NET ViewModel)? #2692
Unanswered
MarcoLLeite
asked this question in
Q&A
Replies: 1 comment
-
You need to set check_callback (to true for example). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
I have a tree that is created by HTML (ASP.NET View Models).
But I cannot activate the "dnd ", I added the plugin but it won't work. I get the red cross every time I try to grab something and move it.
Here's my js to create the three:

My HTML on the main page:

And my partial view code ("LocationTreeNode):

*The type is dynamic, but I set it to "building" in the code above to simplify things.
Can somebody help? Is this supported?
Beta Was this translation helpful? Give feedback.
All reactions