ngx-treeview icon indicating copy to clipboard operation
ngx-treeview copied to clipboard

treeviewComponent.allItem.correctChecked() doesn't work on viewchild

Open talynone opened this issue 6 years ago • 3 comments

I have a viewchild reference to the treeview control, after checking items programatically I call allItem.correctChecked() to get the all item to set to an indeterminate or checked state, but it stays unchecked.

talynone avatar Apr 06 '18 05:04 talynone

Yes, allItem doesn't work with correctChecked() because it doesn't have children.

leovo2708 avatar Apr 06 '18 05:04 leovo2708

So how do I get it to an intermediate state on the allItem when checking treeview items pragmatically?

talynone avatar Apr 08 '18 19:04 talynone

You got the solution?

arunaxxl avatar Aug 30 '19 07:08 arunaxxl