I was testing the autocomplete feature of the SfTextBoxExt and I encountered a few issue with what I was trying to do.
1) My ItemSource is something like this :
When I hit "A", it suggest "AA", "AB", "AC", "A1" but it doesn't suggest me just "A". The same goes with "B" and other items that only contains one letters. I already set the MinimumPrefixChar to 1, but every time it won't display the one letter items in the suggestion dropdown.
2) Since it's just a few letters my SfTextBoxExt has a little witdth, but the suggestion dropdown displays larger data. I tried to increase the width of my StackPanel in the AutoCompleteItemTemplate but it didn't work.
VVVignesh V Syncfusion Team December 16, 2013 02:20 PM UTC
Query1: SuggestionBox doesnot display single character.
We would like to inform you that the suggestion box displays suggestions for the forthcoming letters. When a single character is entered, it is considered as a complete word and suggestion will not be displayed. In such condition, 'SuggestionMode' can be set to 'Equals' to display that particular Item.
Query2: Modifying width of SuggestionBox does not work.
We are able to reproduce the problem 'Unable to Modify Width of SuggestionBox for larger data'. We have logged a bug report and fix for this issue will be available in our upcoming Service Pack release which is scheduled to be released by the end of January 2014. Please visit our website periodically for updates regarding releases.
Please let us know if you have any queries.
JMJEAN MICHEL CAMIZONDecember 17, 2013 08:06 AM UTC
Thank you for your answer.
Setting the SuggestionMode to 'Equal' doesn't work for me, because if I entered 'A' it will display 'A', but it won't display 'AA', 'AB', 'AC' and 'A1'.
Is there is specific mode that will allow me to display all the suggestion containing the letter 'A', even the one with 1 letter ?
VVVignesh V Syncfusion Team December 19, 2013 04:32 PM UTC
We have prepared a sample that could meet your requirement of 'displaying Single letter in suggestion list'. In the sample we have used 'Custom' suggestion mode and created a method to filter all suggestions that starts with the entered Text.