Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data-nodrop-nabled limit #737

Open
sohail85 opened this issue Mar 9, 2016 · 2 comments
Open

data-nodrop-nabled limit #737

sohail85 opened this issue Mar 9, 2016 · 2 comments
Labels

Comments

@sohail85
Copy link

sohail85 commented Mar 9, 2016

Hi, If I am not wrong currently the data-nodrop-enabled does not evaluate nodes being drop-able or not by its value as described in documentation

I want to enable and disable nodes being drop-able dynamically but since presence of data-nodrop-enabled regardless of its value being true or false make the node not drop-able. so even if i have something like
<ol ui-tree-nodes="" ng-model="node.nodes" data-nodrop-enabled="false">
still it will make my ui-tree-nodes not to be drop-able which i believe is a bug or the documentation should be corrected.
I do not want to implement a very complicated logic by overriding accept callback to identify if my node is dragable or dropable.

@pakTech786
Copy link

yeah its not working.

<ol ui-tree-nodes="" ng-model="node.nodes" data-nodrag>

this worked in my case.

@Tim1023
Copy link

Tim1023 commented May 29, 2016

            <ol ui-tree-nodes="" ng-model="tree1" data-nodrop-enabled="false">

Same not working in my case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants