Hi,
I'm using smartGWT version 2.5 and have a following problem with MiniDateRangeItem item - when datasource allows handling of advance criteria, date listgrid field has rendered MiniDateRangeItem in filter editor.
This item contains from and to items with date pickers, when user clicks on some of that picker, calendar is opened and in that calendar user can select year from range of years, by default this range is from 1995 to 2015 that is too small from properties like birth date of person.
I'd like to increase this range (for example 1900-2010) but didn't find the way how it should be changed.
in dateItem it can be easly achieved by:
but MiniDateRangeItem doesn't contain such properties, how it's possible to change that range in MiniDateRangeItem?
thanks,
Michal
I'm using smartGWT version 2.5 and have a following problem with MiniDateRangeItem item - when datasource allows handling of advance criteria, date listgrid field has rendered MiniDateRangeItem in filter editor.
This item contains from and to items with date pickers, when user clicks on some of that picker, calendar is opened and in that calendar user can select year from range of years, by default this range is from 1995 to 2015 that is too small from properties like birth date of person.
I'd like to increase this range (for example 1900-2010) but didn't find the way how it should be changed.
in dateItem it can be easly achieved by:
Code:
setStartDate(new DateMidnight(1900, 1, 1).toDate()); setEndDate(new Date());
thanks,
Michal
Comment