简体   繁体   中英

how to make indeterminate checkbox checked in ngx-treeview

I am using this library https://leovo2708.github.io/ngx-treeview/#/components .

However I have requirement that i need to show parent node as checked if any child is checked. So instead of indeterminate state, I need to show it as checked.. is it possible?

如果选中了复选框,则可以将Treeview Object与checked属性一起使用,然后将返回true或将显示false

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM