Hello,
I have a grid with the following field :
So it is a date field and it is editable.
The issue is the following :
the validator display the message "the value must be a date" whatever value I enter in the field (even by selecting it through the date pick calendar)
The issue is due to the format. When I comment the format lines I have no issue
Regards
I have a grid with the following field :
Code:
ListGridField winDateField = new ListGridField(WIN_DATE_NAME, WIN_DATE_LABEL, 85); winDateField.setType(ListGridFieldType.DATE); winDateField.setDateFormatter(DateDisplayFormat.TOEUROPEANSHORTDATE); DateItem dateItem = new DateItem(); dateItem.setInputFormat("D/M/Y"); dateItem.setDisplayFormat(DateDisplayFormat.TOEUROPEANSHORTDATE); winDateField.setEditorType(dateItem);
The issue is the following :
the validator display the message "the value must be a date" whatever value I enter in the field (even by selecting it through the date pick calendar)
The issue is due to the format. When I comment the format lines I have no issue
Regards
Comment