Customise search capability in multiselect - checkbox mode

Hi
I have a multiselect in checkbox mode. For every search , the searching happens based on the start of a string. Is it possible to configure it so it can search any keyword in the datasource?
Please see attachment for example.
Thanks
tchoujar

Attachment: New_folder_(4)_9f1a68c.zip

1 Reply 1 reply marked as answer

JM Jeyanth Muthu Pratheeban Sankara Subramanian Syncfusion Team June 2, 2021 12:45 PM UTC

Hi Tarannum, 

Thanks for contacting Syncfusion support. 

We checked the reported requirement and the attached video demonstration. On examining the provided information, we suspect that you are in need of filtering the values, when the typed character matches with any of the values in the popup. By default, Filtering works only based on the first character matching. Therefore, we suggest you to configure the FilterType as Contains to achieve your requirement. We made sample for your convenience. Please find the sample in the below link. 


<SfMultiSelect TValue="string[]" FilterType="FilterType.Contains" TItem="Countries" Mode="VisualMode.CheckBox" AllowFiltering="true"  Placeholder="e.g. Australia" DataSource="@Country"> 
    <MultiSelectFieldSettings Text="Name" Value="Code"></MultiSelectFieldSettings> 
</SfMultiSelect> 



Screenshot       

 
 
  
Kindly integrate the provided solution with your application and get back to us if you need any further assistance on this. 

Regards, 
Jeyanth. 


Marked as answer
Loader.
Up arrow icon