Hi,
I'm using SmartGWT 2.5 (nightly build 2011-03-10) and I'd like to create a search form with a datetime range.
I found only the DateRangeItem class but not something like DataTimeRangeItem. While using the DateRangeItem class I had to set manually the dateDisplayFormat to a datetime format, otherwise would not display the time part.
I'd like to have for all form and grid items the default date and datetime formatters configured with DateUtil class and not to set for each item the date/datetime format, but I couldn't achieve that for the datetime range form item.
Is it possible to have such a DatatimeRangeItem class or can be solved the problem in a different way?
Thanks,
Mihnea
I'm using SmartGWT 2.5 (nightly build 2011-03-10) and I'd like to create a search form with a datetime range.
I found only the DateRangeItem class but not something like DataTimeRangeItem. While using the DateRangeItem class I had to set manually the dateDisplayFormat to a datetime format, otherwise would not display the time part.
I'd like to have for all form and grid items the default date and datetime formatters configured with DateUtil class and not to set for each item the date/datetime format, but I couldn't achieve that for the datetime range form item.
Is it possible to have such a DatatimeRangeItem class or can be solved the problem in a different way?
Thanks,
Mihnea
Comment