Hi,
Version: Power Edition 2.3 / 27.08.2010
In a datasource I have a field with the type “datetime”. In a ListGrid I want to show the format “DD.MM.YYYY”.
Problem:
In the ListGrid ist the format “DD/MM/YYYY”. If I use the type “date” in the datasource the format is perfect out of the box (“DD.MM.YYYY”). Is there a simple way to change the date separator for a ListGridField?
Regards
Chris
Version: Power Edition 2.3 / 27.08.2010
In a datasource I have a field with the type “datetime”. In a ListGrid I want to show the format “DD.MM.YYYY”.
Code:
ListGridField logValidTo = new ListGridField(GeneratedFieldConsts.F_LOG_VALID_TO); logValidTo.setDateFormatter(DateDisplayFormat.TOEUROPEANSHORTDATE);
In the ListGrid ist the format “DD/MM/YYYY”. If I use the type “date” in the datasource the format is perfect out of the box (“DD.MM.YYYY”). Is there a simple way to change the date separator for a ListGridField?
Regards
Chris
Comment