There are several child nodes in one node as shown below.
According to the manual in the tutorial, grandchild2-1-1 is not searched, only child2 is searched.
Is it impossible to search with the functions in the manual?
`filterTree() {
let foundResults: TreeNode[] = [];
There are several child nodes in one node as shown below. According to the manual in the tutorial, grandchild2-1-1 is not searched, only child2 is searched. Is it impossible to search with the functions in the manual?
`filterTree() { let foundResults: TreeNode[] = [];
}`
code:
<tree-root #tree [nodes]="nodes" [focused]="true"> <ng-template #treeNodeTemplate let-node="node" let-index="index"> <input class="pt-1"type="checkbox" [indeterminate]="node.data.indeterminate" [checked]="node.data.checked"> <span class="pl-1" (click)="treeMembers(node.data)">{{node.data.name}}</span> </ng-template> </tree-root>