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

hideCheckbox property feature not working? #20

Closed
pnacelli opened this issue May 22, 2013 · 6 comments
Closed

hideCheckbox property feature not working? #20

pnacelli opened this issue May 22, 2013 · 6 comments
Assignees
Labels
Milestone

Comments

@pnacelli
Copy link

the hideCheckbox property set accordingly for disabled items on my ajax JSON response but the checkboxes are still showing up.

@ghost ghost assigned mar10 May 23, 2013
@mar10
Copy link
Owner

mar10 commented May 23, 2013

confirmed

@mar10 mar10 closed this as completed in 0881cc7 May 25, 2013
@pnacelli
Copy link
Author

Thanks Martin, that was a fast fix!

Cheers. .

@bpromasmb
Copy link

I think this is happening again. Using fancytree v. 2.19.0, I am unable to hide a checkbox using

node.hideCheckbox = true;
node.render();

@mar10 mar10 reopened this Oct 7, 2016
@mar10
Copy link
Owner

mar10 commented Oct 7, 2016

Since this requires re-rendering of the markup, the 'force' flag should be set:

node.hideCheckbox = true;
node.render(true);

@mar10 mar10 closed this as completed Oct 7, 2016
@spacemishka
Copy link

@mar10
when i use this i am getting an error

jquery-3.2.1.min.js:2 Uncaught RangeError: Maximum call stack size exceeded at RegExp.[Symbol.match] (<anonymous>) at String.match (native) at pb (https://code.jquery.com/jquery-3.2.1.min.js:4:1660) at r.fn.init.removeClass (https://code.jquery.com/jquery-3.2.1.min.js:4:2494) at r.fn.init.a.fn.extend.removeClass (https://cdn.jsdelivr.net/gh/mar10/fancytree@v2/dist/jquery.fancytree-all-deps.min.js:29:8369) at r.fn.init.toggleClass (https://code.jquery.com/jquery-3.2.1.min.js:4:2652) at r.fn.init.a.fn.extend.toggleClass (https://cdn.jsdelivr.net/gh/mar10/fancytree@v2/dist/jquery.fancytree-all-deps.min.js:29:8565) at p.nodeRenderStatus (https://cdn.jsdelivr.net/gh/mar10/fancytree@v2/dist/jquery.fancytree-all-deps.min.js:30:24887) at p.nodeRenderTitle (https://cdn.jsdelivr.net/gh/mar10/fancytree@v2/dist/jquery.fancytree-all-deps.min.js:30:23590) at p.nodeRender (https://cdn.jsdelivr.net/gh/mar10/fancytree@v2/dist/jquery.fancytree-all-deps.min.js:30:21218)

Can you give me an advise?

Thanks
Peter

@mar10
Copy link
Owner

mar10 commented Nov 15, 2017

See #804

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