Ext.onReady(function(){
fieldname = new Ext.ux.form.DateTime({
dateFormat: 'd-m-Y', //display format
hiddenFormat:'Y-m-d H:i:s', //actual data format
value: "2010-01-01 01:00:00",
selectOnFocus:true,
applyTo: 'frmMyDate',
});
});
If you use xtype, its named "xdatetime"
No comments:
Post a Comment