Hi,
Since the treeview doesn't support the filter on all levels, i had to implement the filter manually on all tree levels. The implementation is to loop over the node and set the filter on the children datasource: nodes[i].children.filter({ field: "label", operator: "startswith", value: text }) and to clear the filter nodes[i].children.filter({}).
The total nodes/leafs in the tree is arround 300, with arround 8 levels deep, the maximum child count is 80. The problem is that setting the filter also clearing the filter is slow regarding the size of the data, range between 6-9 seconds.
any help regarding this behavior.
Regards.
Since the treeview doesn't support the filter on all levels, i had to implement the filter manually on all tree levels. The implementation is to loop over the node and set the filter on the children datasource: nodes[i].children.filter({ field: "label", operator: "startswith", value: text }) and to clear the filter nodes[i].children.filter({}).
The total nodes/leafs in the tree is arround 300, with arround 8 levels deep, the maximum child count is 80. The problem is that setting the filter also clearing the filter is slow regarding the size of the data, range between 6-9 seconds.
any help regarding this behavior.
Regards.