Hi
I use ListGrid with a simple filter editor. One of columns in my grid is a date type column. When I set the same day as the start date and the end date for the range in filter editor, I get empty grid (even so I have records with this date in my data source). You can check it in SmartGWT Showcase - http://www.smartclient.com/smartgwt/showcase/#grid_daterange_filtering - example with MiniDateRangeItem. I suppose this filter for date range uses expression: date greater than .... and less than ..., instead of greater or equal and less or equal.
Is it correct behaviour for this filter? In my opinion not. I think the start and end date from the range should be included to results of filtering data. Such works for example SQL between operator.
It would be great if this filter may work like SQL between operator. Is it possible to change it in near future in smartgwt library ?
Thanks in advance
Regards
Marcin
I use ListGrid with a simple filter editor. One of columns in my grid is a date type column. When I set the same day as the start date and the end date for the range in filter editor, I get empty grid (even so I have records with this date in my data source). You can check it in SmartGWT Showcase - http://www.smartclient.com/smartgwt/showcase/#grid_daterange_filtering - example with MiniDateRangeItem. I suppose this filter for date range uses expression: date greater than .... and less than ..., instead of greater or equal and less or equal.
Is it correct behaviour for this filter? In my opinion not. I think the start and end date from the range should be included to results of filtering data. Such works for example SQL between operator.
It would be great if this filter may work like SQL between operator. Is it possible to change it in near future in smartgwt library ?
Thanks in advance
Regards
Marcin
Comment