Firefox 24,
<gwtVersion>2.6.1</gwtVersion>
<smartgwtVersion>5.0-p20141210</smartgwtVersion>
Isomorphic SmartClient/SmartGWT Framework (v10.0p_2015-11-20/Pro Deployment 2015-11-20)
Hi,
The problem we encounter cannot be reproduced on the showcase because it is probably due to a configuration issue.
It occurs on a ListGrid where a "datetime" listGridField is defined (also tried without the cellFormatter).
The listGrid has the setShowFilterEditor set to true and so, a MiniDateRangeItem is displayed to filter on this field.
When we select relative dates, it works correctly.
When we set the dateRange into the source code, it works correctly.
But when we select dates through the DateTimeItem, the selected dates correctly appear into the dialog then disappear after clicking on the "OK" button.
Moreover, it is not only a display problem because the criteria is not taken into account when filtering the data of the grid.
There is no more configuration on this item in the view file and we have the same problem on each Date grid field.
Do you have any idea to get the correct behavior for this item?
Thanks
<gwtVersion>2.6.1</gwtVersion>
<smartgwtVersion>5.0-p20141210</smartgwtVersion>
Isomorphic SmartClient/SmartGWT Framework (v10.0p_2015-11-20/Pro Deployment 2015-11-20)
Hi,
The problem we encounter cannot be reproduced on the showcase because it is probably due to a configuration issue.
It occurs on a ListGrid where a "datetime" listGridField is defined (also tried without the cellFormatter).
Code:
final ListGridField receptionDate = new ListGridField("parent.creationDate", MESSAGES.receptionDate()); receptionDate.setValueField("creationDate"); receptionDate.setType(ListGridFieldType.DATETIME); receptionDate.setCellFormatter(new CellFormatter() { @Override public String format(Object value, ListGridRecord record, int rowNum, int colNum) { if (value != null) { return DateTimeFormat.getFormat("dd/MM/yyyy HH:mm:ss").format((Date) value); } return null; } });
When we select relative dates, it works correctly.
When we set the dateRange into the source code, it works correctly.
But when we select dates through the DateTimeItem, the selected dates correctly appear into the dialog then disappear after clicking on the "OK" button.
Moreover, it is not only a display problem because the criteria is not taken into account when filtering the data of the grid.
There is no more configuration on this item in the view file and we have the same problem on each Date grid field.
Do you have any idea to get the correct behavior for this item?
Thanks
Comment