I want to create a Tree View component in Angular with Collapsible and checkbox. I want to develop a completely custom tree view with checkbox and collapsible hence no other plugin or Material design we can use.
Please find my code at -
https://stackblitz.com/edit/angular-7xcthz
Here I am able to render tree View with the checkbox on UI. But want to implement the Collapsible functionality -
- The collapsible group with chevron icon before each parent node
- The collapsible chevron icon should show for the parent node when the child element is present else it should be displayed with checkbox only not need to show the chevron icon.
- Common expand and collapsible functionality needs to implement for entire tree.
- Chevron icon should not display when there is no child node present.
I appreciate your great help.
Aucun commentaire:
Enregistrer un commentaire