ngx-treeview
ngx-treeview copied to clipboard
treeviewComponent.allItem.correctChecked() doesn't work on viewchild
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.
Yes, allItem doesn't work with correctChecked() because it doesn't have children.
So how do I get it to an intermediate state on the allItem when checking treeview items pragmatically?
You got the solution?