PDA

View Full Version : [GXT 3] UIBinder DateField display format/mask



bellboy.tech
31 Aug 2012, 10:03 AM
How do you set the mask/format of a DateField?
I'm hoping it can be done in the UIBinder, but I can't find how to set it from the java class either?

This will always default to yyyy-mm-dd. I need mm/dd/yy.


<container:child layoutData="{layoutData}">
<form:FieldLabel text="Updated">
<form:widget>
<form:DateField ui:field="dateGui" name="dateIwantToFormat" />
</form:widget>
</form:FieldLabel>
</container:child>