過濾樹

參考示:過濾樹
filter節點過濾
tree.filter(function (node) { var text = node.text ? node.text.toLowerCase() : ""; if (text.indexOf(key) != -1) { return true; } });
clearFilter取消過濾
tree.clearFilter();