PDA

View Full Version : DataPickerField without Year



stefx
13 Feb 2011, 10:16 AM
Hi to all, I'm trying to configure a DataPickerField to remove the year.



{
xtype: 'datepickerfield',
picker: {
slots: ['day', 'month'],
slotOrder: ['day', 'month']
},
value: {day: 1, month: 5}
}


This configuration return NaN/NaN/NaN...
How it's possible? Thanks a lot!
Stefano

stefx
13 Feb 2011, 10:42 AM
Ok, with this codeI can view the date in the right format:


Ext.util.Format.defaultDateFormat = 'd F';

But now if I try to change the date I get: "NaN undefined"... How to resolve?
Thanks a lot
Stefano

stefx
24 Feb 2011, 5:30 AM
anyone???
thanks