We have a treeView which has multiple levels. Hence to make it easy for the users , we have put a search box to search for a particular text in the TreeView.
How do we find the text in the tree view? Otherwise, how to bind the data in the tree to the search box and highlight the matching texts.
4 Answers, 1 is accepted
One possible suggestion to achieve such scenario is to use RadDropDownTree as in this demo where similar functionality is implemented.
You can also review this Code Library where similar filtering scenario is implemented with RadTreeView.
Hope this will be helpful.
I want one more functionality in this search. I want the search functionality (as provided in Code Library link) to work on click of a button (now it is currently on key press). I want the search to happen in client side only (as it is now) but on click of a button. Along with this , is it also possible to have the first text matching node to be highlighted ?
We need this asap. Please help.
Please try the below implementation(with out using search box control)
Hello, This works perfectly fine. But, i have a tree with 700 nodes approx. In this case, initial search is taking 7 sec and consequent searches works with in milliseconds.
Is there any way to make the initial search also better?