Custom Filter not working

Hi.

I am trying to use a custom filter for my SfAutocomplete Box.

I'm setting the suggestionMode to Custom and define a method for the Filter predicate. But the Method is never called.
What am I doing wrong or is this a bug?

Here my code for testing:


            autoComplete.ValueChanged += TextChanged;
            autoComplete.SelectionChanged += SelectedItemChanged;
            autoComplete.AutoCompleteMode = AutoCompleteMode.Suggest;
            autoComplete.MinimumPrefixCharacters = 1;
            autoComplete.SuggestionMode = SuggestionMode.Custom;
            autoComplete.Filter = MyFilter;


        public bool MyFilter(string search, object item)
        {
            return true;
        }

11 Replies

SK Selva Kumar  Veerakrishnan Syncfusion Team October 11, 2017 02:30 PM UTC

Hi Peter-Paul,

We have logged a defect report regarding the reported issue "Custom filter is not working in SfAutocomplete". A support incident to track the status of this defect has been created under your account.

Please log on to our support website to check for further updates.

Link: https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents/  

Regards,
SelvaKumar V.


OT Ole Tetzschner replied to Selva Kumar  Veerakrishnan December 18, 2017 02:47 PM UTC

Hi Peter-Paul,

We have logged a defect report regarding the reported issue "Custom filter is not working in SfAutocomplete". A support incident to track the status of this defect has been created under your account.

Please log on to our support website to check for further updates.

Link: https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents/  

Regards,
SelvaKumar V.

Hi.

What was the outcome of this 'defect report'?. I'm having the same issue (sfAutoComplete 15.4.0.17).


With kind regards, Ole


PK Peter-Paul Kremser December 18, 2017 03:15 PM UTC

Hi Ole,

they told me that this feature is currently not supported :-(

Best regards
Peter




OT Ole Tetzschner December 18, 2017 03:22 PM UTC

Thanks for the sadly update Peter. This (custom-filtering) must be one of the most important filtering options. Guess the alternative is to take the long way home and create (and maintain) a auto-complete-component youself.

Kind regards, Ole


SK Selva Kumar  Veerakrishnan Syncfusion Team December 19, 2017 12:10 PM UTC

Hi All,

We have implemented this support in all platforms and the feature will be available in our upcoming volume 4 service pack 1 release, which is expected to be rolled out by the end of this month.

Regards,

Selva Kumar V


OT Ole Tetzschner December 19, 2017 12:17 PM UTC

Selva you're a champ :)


SK Selva Kumar  Veerakrishnan Syncfusion Team December 20, 2017 04:03 AM UTC

Hi Ole,

Thanks for your update. We will let you know once the release has been rolled out.

Regards,

Selva Kumar V.


MT Mark Thompson replied to Peter-Paul Kremser January 10, 2018 12:46 PM UTC

Hi Ole,

they told me that this feature is currently not supported :-(

Best regards
Peter



Answer for what?     


SK Selva Kumar  Veerakrishnan Syncfusion Team January 11, 2018 08:43 AM UTC

Hi All,

We are glad to announce that our Essential Studio Volume 4, Service Pack 1, 2017 (Version 15.4.0.20) is rolled out and is available for download under the following link.

https://www.syncfusion.com/forums/135223/essential-studio-2017-volume-4-service-pack-release-v15-4-0-20-available-for-download

We have included the CustomFilter Support in our SfAutoComplete control. We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

Regards,

Selva Kumar V.


OT Ole Tetzschner January 11, 2018 09:34 AM UTC

Thumbs up, looking forward to try this new feature :)


SK Selva Kumar  Veerakrishnan Syncfusion Team January 12, 2018 09:07 AM UTC

Hi Ole,

Thanks for your response.

Please let us know if you need any assistance on this.

Regards,

Selva Kumar V.

Loader.
Up arrow icon