KendoUI过滤器TreeView [英] KendoUI filter TreeView

查看:58
本文介绍了KendoUI过滤器TreeView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用KendoUI的树状视图,并希望为用户提供过滤它的可能性. 甚至有一个演示可以满足我的要求(http://demos.kendoui.c​​om/web/treeview/api.html)

I am using the treeview of KendoUI and want to give the user the possibility to filter it. There is even a demo that does what I want (http://demos.kendoui.com/web/treeview/api.html)

问题在于过滤器仅应用于TreeView的第一个层次结构,因此,如果过滤器文本存在于子级而不是父级中,则不会显示该子级.

The Problem is that the filter is only applied to the 1st hierarchy of the TreeView, so if the filter-text is present in a child but not the parent, then the child won't be displayed.

示例:

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆