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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Search bar on tree view for Xamarin

Thread ID:

Created:

Updated:

Platform:

Replies:

146377 Aug 1,2019 10:50 PM UTC Aug 5,2019 03:20 AM UTC Xamarin.Forms 3
loading
Tags: SfTreeView
Andres Alvarado
Asked On August 1, 2019 10:50 PM UTC

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.

Sangeetha Raju [Syncfusion]
Replied On 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. 


Andres Alvarado
Replied On 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.

Dinesh Babu Yadav [Syncfusion]
Replied On 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 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon