debslab

Results comments of debslab

Thank you. I am trying following template. {{ node.data.name }} Now in the function go, I need to get access to all child nodes checkbox so that I can check...

Hi..any update on my previous comment...it's an awesome component to use in my project..only one thing which is bugging me is not having checkbox support...if you provide some pointer to...

Thanks a lot. I have done the implementation as following. // html {{ node.data.name }} // code executed if we click on any checkbox public updateChildNodesCheckBox(node,checked) { if (node) {...

Actually in onToggleExpanded also, I am not getting hold of child node as it's yet to be rendered. So I am not able to do the workaround I mentioned earlier....

If I get an event after expand, that will suffice as that time child nodes will be available to me

Thank you very much. Finally I am able to implement this. For setting child nodes checkbox, I followed your approach. But for parent nodes I needed to access DOM elements...

Logic I have written to set parent node checkbox- public updateParentNodesCheckBox(node) { if (node && node.level > 0 && node.children) { let allChildChecked = true; let noChildChecked = true; for...

thank you. I updated my code.

here you go - https://angular2-tree.readme.io/docs/tri-state-checkboxes

May I get some update here please, at least a pointer to how I can achieve it by either modifying this component or from outside.