What problem does this feature solve?
解决了通过过滤参数动态显示Tree结构。需求是想通过用户输入一个字符串filter,然后过滤出tree data中包含filter的数据,现在的做法是每次更新filter之后修改tree data数据结构,在Tree data数据量非常大的情况下,明显的能感觉到有一定卡顿。
What does the proposed API look like?
现有的render方法只能更改显示的样式,期望通过返回null或者是不返回时,不显示当前节点。
1条答案
按热度按时间xxhby3vn1#
Translation of this issue:
What problem does this feature solve?
To solve the Tree structure through dynamic filtering parameters. The demand is wanted by the user to input a string of filter, and then filter out the tree data contains filter data, now is the time to update the filter after the modification of the tree data data structure in Tree data, a very large amount of data, obviously can feel a certain card.
What does the proposed API look like?
The existing render method can only change the display style and expect to not display the current node by returning null or not returning.