I have a TreeGrid that categorizes around 5000 records, once the user opens the Tree he will have around 100 parent nodes and the rest of the 5000 will be in the lower nodes.
My requirement is to provide a search facility that will highlight all the leaf nodes which matching the search criteria. to achieve this I had to expand all the nodes of the tree till the leaf level at the loading time and then executes the search on the client side to find and highlight the matching leaf nodes. The problem of my approach is that lazy loading is not applied and the whole tree is expanded in front of the user at the loading time.
I am asking if you can give some hints about how to expand and highlight just the leaf nodes that match the search criteria.
My requirement is to provide a search facility that will highlight all the leaf nodes which matching the search criteria. to achieve this I had to expand all the nodes of the tree till the leaf level at the loading time and then executes the search on the client side to find and highlight the matching leaf nodes. The problem of my approach is that lazy loading is not applied and the whole tree is expanded in front of the user at the loading time.
I am asking if you can give some hints about how to expand and highlight just the leaf nodes that match the search criteria.