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.
Unfortunately, activation email could not send to your email. Please try again.

Filter a DataManager case insensitive

Thread ID:

Created:

Updated:

Platform:

Replies:

129263 Mar 8,2017 04:27 AM Mar 9,2017 04:23 AM ASP.NET MVC 1
loading
Tags: DataManager
Cornel Amarandei
Asked On March 8, 2017 04:27 AM

Hi,

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".

Thanks,
Cornel.

Gopi Govindasamy [Syncfusion]
Replied On March 9, 2017 04:23 AM

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.   
  
Regards,   
Gopi G.   


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;