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

Customize the suggestion dropdown.

Thread ID:

Created:

Updated:

Platform:

Replies:

148081 Oct 4,2019 09:39 AM UTC Oct 7,2019 10:08 AM UTC WPF 1
loading
Tags: SfTextBoxExt
Srikanth Vattipally
Asked On October 4, 2019 09:39 AM UTC

Hi Team,

I am trying to use SfTextBoxExt which help in filtering options dynamically and capture text entered.
I was able to  modify items templates using AutoCompleteItemTemplate to show 2/3 columns when the drop down is open but I would like to know if  there is a way I will be able to get a Header on the column for the data in the item template. I would like to use properties like MinimumPrefixCharacters/SuggestionMode etc.

It would be great if I can get a sample to achieve headers for the columns in the drop down suggestions.

Thanks,
Srikanth V.

Hemalatha Marikumar [Syncfusion]
Replied On October 7, 2019 10:08 AM UTC

Hi Srikanth,

Greetings from Syncfusion. 

Query 1: Header on the column for the data in the item template
 
 
Currently we don’t have a header support for the Suggestion box in SfAutoComplete. 
 
Query 2: Using properties like MinimumPrefixCharacters/SuggestionMode in AutoComplete. 
 
We have checked your requirement with SfAutoComplete. We have prepared the simple sample for your reference. Please have a below code example 
 
Code snippet: 
 
<editors:SfTextBoxExt HorizontalAlignment="Center"  
                                     VerticalAlignment="Center"  
                                     Width="200" 
                                     SearchItemPath="Name" 
                                     MinimumPrefixCharacters="2" 
                                     SuggestionMode="StartsWith" 
                                     AutoCompleteMode="Suggest" 
                                     AutoCompleteSource="{Binding Employees}" > 
 
We have prepared the sample which will be available for downloading in below

 
Sample Link: 
UG Link: 
https://help.syncfusion.com/wpf/sftextboxext/prefix-characters-constraint

Please let us know if you have any other queries.
 

Regards,
Hemalatha M.

 


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