In this sample, we have used a textbox for filtering Treeview items and in the change event of Textbox, we have filtered the items using Datamanager to update the Treeview datasource.
Please check and get back to us if you have any further concerns.
EBEbenezerApril 2, 2019 06:59 AM
I just saw your example back then, having some issues while using that.
1. If i check a node using search input option then corresponding node was still unchecked once i clear the input.
2. "let query = new Query().where(new Predicate.or(predicats));" compile error, that it should be void.
3. If i check some nodes without using search option and then if i try to search 'em it shows as unchecked.
CIChristopher Issac Sunder K Syncfusion Team April 3, 2019 07:55 AM
Hi Justin Ebenezer,
Thanks for the update.
We have resolved the search and checking tree nodes while performing search operation related issues. In the provided sample, we have maintained the checked nodes in a private array and update it while changing the dataSource in the dataBound event. Also we disabled the autoCheck to achieve independent behavior of checked state.