smart987
smart987

Reputation: 832

angularjs, tree directive with check boxes

Can any one direct me for angular js tree directive with check boxes. I have come across few but none of them are fully functional with check boxes.Even the angular ui tree, http://ngmodules.org/modules/angular-ui-tree, I don't find samples with check boxes.

Upvotes: 0

Views: 3531

Answers (2)

Lucia
Lucia

Reputation: 13587

I just wrote a directive on this, with which you could have as many levels of checkboxes as you like. Basically it checks recursively after click events, and emit/broadcast them accordingly. Check out the repo, and the live demo.

Upvotes: 3

Boluc Papuccuoglu
Boluc Papuccuoglu

Reputation: 2356

As far as I can tell, angular-ui-tree allows you to edit the node template so you can place a checkbox on each node and bind it to a property of the node.

Upvotes: 0

Related Questions