Ignore diacritics and "contains" filter

Hello.

I would like use both functions. Is it possible? I don't know use "contains" filter without query and I don't know how ignore accents in query.

Thank you.

Luis

3 Replies

IB Ilakkiya Baskar Syncfusion Team May 4, 2018 11:28 AM UTC

Hi Luis,   
Thank you for contacting Syncfusion Support.   
We suggest you use filtering event and in that event query can use the filtering type. We don’t provide separate property for that. Please refer to the following documentation.   
We suggest you to pass a parameter for ignore accent in query. Please refer to the following query,   
let query: Query = new Query().from('Customers').select(['ContactName','CustomerID']); // defined the query   
   
query = (e.text !== '') ? query.where('ContactName', 'endswith', e.text,true, true) : query //highlighted boolean value for ignoring the accent   
      
   
  
 Let us know if there is any concern, we will be happy to assist you.   
   
Regards,   
Ilakkiya B   



LL Luis Lora May 10, 2018 10:24 AM UTC

Thank you very much! Next time I will read doc better :))


IB Ilakkiya Baskar Syncfusion Team May 11, 2018 12:22 PM UTC

Hi Luis, 
Most welcome, please let us know if you need any further assistance. 
Regards 
Ilakkiya 


Loader.
Up arrow icon