We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Search bar on tree view for Xamarin

Hi guys! Do you know if its possible to add a search bar to a tree view control on Xamarin? Do you have an example? 

Thanks in advance.

Andres.

3 Replies

SR Sangeetha Raju Syncfusion Team August 3, 2019 04:39 AM UTC

Hi Andres, 
 
Thank you for contacting Syncfusion support. 
 
We would like to inform you that you can achieve your requirement by adding a SearchBar inside any Views such as StackLayout or GridLayout over the SfTreeView control. We have attached a sample for your reference. Please find the sample from the below link. 
 
 
Note: TreeView doesn't support filtering. So, you have to manually filter the underlying data based on your requirement. 
 
Please let us know if you have any queries. 
 
Regards, 
Sangeetha Raju. 



AA Andres Alvarado August 4, 2019 06:29 PM UTC

Hi Sangeetha, thanks for the update. I was able to implement the search bar based on your sample.

I'll go ahead and try to implement the filtering.

Thanks a lot.

Andres.


DB Dinesh Babu Yadav Syncfusion Team August 5, 2019 03:20 AM UTC

Hi Andres, 
 
Thanks for the update. Please get back to us if you require further assistance. 
 
Regards, 
Dinesh Babu Yadav 


Loader.
Live Chat Icon For mobile
Up arrow icon