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.

Date Filter Filter.Type.Menu - Filter between 2 dates

Thread ID:

Created:

Updated:

Platform:

Replies:

129309 Mar 10,2017 07:27 PM Mar 13,2017 08:03 AM ASP.NET MVC 1
loading
Tags: Grid
Megatron
Asked On March 10, 2017 07:27 PM

Hello, how can we get the date filter to filter between 2 dates.

On the help page it only showsless than, greater than etc,
Can you tell me how to enable filtering between 2 dates.

thanks

Jayaprakash Kamaraj [Syncfusion]
Replied On March 13, 2017 08:03 AM

Hi Megatron, 

Thank you for contacting Syncfusion support. 

To overcome this problem we suggest you to use excel filtering. You can enable excel menu by setting FilterType as Excel in FilterSettings . The excel menu contains an option such as Sorting, Clear filter, submenu for advanced filtering. In this filtering we have between options in excel filter dialog. Please refer to the below help document, code example and sample. 


@(Html.EJ().Grid<object>("Grid") 
     .Datasource((IEnumerable<object>)ViewBag.datasource) 
    .AllowPaging() 
    .AllowFiltering() 
    .FilterSettings(fil=>fil.FilterType(FilterType.Excel)) 
              … 
 
            
        })) 



 

Regards, 

Jayaprakash K. 

 


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.

;