I have a datefield xtype mentioned in my grid's date column editor, once I select any date from the picker, as long as I don't click outside or press Enter, the date is displayed in the default format i.e. 'd/m/Y' (meaning dd/mm/YYYY). But as soon as I click outside of the cell or press enter it changes to an entire date containing the timestamp as well. How do I not let this happen? I want to keep it in d/m/Y format and don't want time or day to be displayed.
Here is an example of what it becomes once I press enter.
Tue May 28 2013 00:00:00 GMT +0530 (India Standard Time)
I want it to be
28/05/2013 or Tue 28/05/2013
How to do this?
My configuration for the column is given below
editor: {
xtype: 'datefield',
anchor: '100%',
format: 'd/m/Y',
submitFormat: 'd/m/Y',
minValue: new Date()
}