We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Filter a DataManager case insensitive


I want to filter a data manager case insensitive. I have the following line of code:

ej.DataManager(employeesData).executeLocal(ej.Query().where("text", ej.FilterOperators.contains, $("#FilterTextBox").val()))

I want to filter the "text" by $("#FilterTextBox").val().toLowerCase(), but I don't know how to lower case the "text".


1 Reply

GG Gopi Govindasamy Syncfusion Team March 9, 2017 09:23 AM UTC

Hi Cornel,   
By default, datamanager filter (ej.FilterOperators.contains) property is case insensitive, and both lower and upper case filters are working. We have prepared a sample based on your requirement and attached the sample below.    
Please let us know if you need any other help.   
Gopi G.   

Live Chat Icon For mobile
Up arrow icon