Title: Datebox filter range Post by: A-K on August 05, 2014, 09:05:58 AM Hey, in a previous thread I got an answer about how to create formatter and parser for datebox filter
and how to create custom filters for date. but now I need to make a filter with date range like "show all dates that are between: 01/08/2014 - 05/08/2014" and I didnt know how to make the datebox show range selection. Please is there a way to make the datebox in the datagrid filter to show range selection? I will then create the custom filter. Thanks, Alon. Title: Re: Datebox filter range Post by: stworthy on August 06, 2014, 07:54:20 AM Please use the latest 'datagrid-filter.js' file, it can be downloaded from http://www.jeasyui.com/extension/datagrid_filter.php. And then extend a new filter to allow the user to select a date range.
Code: $.extend($.fn.datagrid.defaults.filters, { Apply this filter to a date field. Code: $('#dg').datagrid().datagrid('enableFilter', [{ Title: Re: Datebox filter range Post by: A-K on August 08, 2014, 03:14:13 AM Thank you!
|