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

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

Thread ID:

Created:

Updated:

Platform:

Replies:

129309 Mar 11,2017 12:27 AM UTC Mar 13,2017 12:03 PM UTC ASP.NET MVC 1
loading
Tags: Grid
Megatron
Asked On March 11, 2017 12:27 AM UTC

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 12:03 PM UTC

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.

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

;