zTree fuzzy search
Add-ons

Plugin description: Adds fuzzy search filtering to the input box of the existing zTree without affecting its original logic.
Last updated: 2019-11-07 00:32:24
Changelog:Made a simple optimization. Tested queries with 10,000 data entries, and the performance was quite good.
Last updated: 2019-10-24 23:34:19
Changelog:Fixed an issue where the original search only matched parent nodes, preventing child nodes from being displayed.
Last updated: 2019-10-24 22:42:47
Suitable for integration into existing projects. You only need to import MtrSearchZTree.js.
Then, after generating the tree, simply add new MtrSearchZTree();
For details, refer to the source code. It contains comprehensive comments.
Dependencies:
jquery
jquery.ztree.all-3.5.js
jquery.ztree.exhide-3.5.js
评论