I have a module in my knockout application where I want to have a tree type structure with checkboxes. What I am trying to achieve with that is the following
- If I select child all the parent and grand parents in that node gets selected but with a different icon. Something like this
- If the user selects the parent all its children are selected like this
Before starting to make my own plugin for it, does knockout have anything similar to this, which I can use as a base and build upon it?
i believe using some library hooked to DOM elements like jstree is bad approach. IMHO it is better to separate data model and its interpretation in htlm.
here is example: https://jsfiddle.net/gqyk1ssh/