iVantage / angular-ivh-treeview

A treeview for AngularJS with filtering and checkbox support.
http://ivantage.github.io/angular-ivh-treeview/
MIT License
238 stars 89 forks source link

How to set the selection can only be changed by clicking on the checkbox #208

Closed ToView closed 7 years ago

ToView commented 7 years ago

Is the case, I would like to click on the left side of the node checkbox to change the selection state, and do not want to click on the node when the value of the check box also changes

jtrussell commented 7 years ago

It sounds like you're going to want to use the ivhTreeviewMgr and a node template to support changing the selection by clicking on other elements.

https://github.com/iVantage/angular-ivh-treeview#ivhtreeviewmgrselecttree-node-opts-isselected

Does that answer your question? If not it would be helpful to have a demo to look it.

ToView commented 7 years ago

Thank you. I have found a solution.

jtrussell commented 7 years ago

👍