Unable to filter data with only number

Hello team,

I am using multi-select dropdown but unable to filter data string with integer.

 


1 Reply 1 reply marked as answer

SN Sevvandhi Nagulan Syncfusion Team July 26, 2021 01:16 PM UTC

Hi Khushbu, 


Greetings from Syncfusion support. 


We checked your query. The default filter type is “StartsWith”. We request that you to change the filter type using filterType property. Refer the following code. 


<MultiSelectComponent id="checkbox" ref={(scope) => { this.mulObj = scope; }} dataSource={this.countries}  
fields={this.checkFields} placeholder="Select countries" mode="CheckBox"  
showSelectAll={true} showDropDownIcon={true} filterType="Contains"  
filterBarPlaceholder="Search countries" popupHeight="350px"> 
  <Inject services={[CheckBoxSelection]}/> 
</MultiSelectComponent> 



Please find the sample below. 


Kindly get back to us for further assistance. 

Regards, 
Sevvandhi N 


Marked as answer
Loader.
Up arrow icon