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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Setting FilterMenu Search Type

Thread ID:





130104 Apr 21,2017 04:02 PM UTC Apr 24,2017 07:19 AM UTC ASP.NET MVC 1
Tags: Grid
Marc Call
Asked On April 21, 2017 04:02 PM UTC

I have a grid that I'm using the FilterBar FilterType. The problem is that for string columns it forces a search of "Starts with" which is very useless for us. Is there a way to manually override this and use "Contains" or other search criteria?

My control code:
        .FilterSettings(filter => { filter.FilterType(FilterType.FilterBar);
        .ClientSideEvents(eve => { eve.RecordClick("gotoResource"); })
        .Columns(col =>
            col.Field("ResourceTypeName").HeaderText("Resource Type").TextAlign(TextAlign.Left).Width(80).Add();

Previously we were using the Menu Filter which allows you to choose the search filter from a menu, but this was painful as it would always default to an option that we never want to use.

Help please! 

Jayaprakash Kamaraj [Syncfusion]
Replied On April 24, 2017 07:19 AM UTC

Hi Marc, 

Thank you for contacting Syncfusion support. 

We have already discussed same in the following knowledgebase document. 


Jayaprakash K. 


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon