PDA

View Full Version : datepiker always visible



jassyr
2 Sep 2014, 5:31 PM
Hi
how can I make the datepiker always visible ?

thanks

jbole
3 Sep 2014, 3:47 AM
You can add the datepiker to a container, like the doc example :

Ext.create('Ext.panel.Panel', {
title: 'Choose a future date:',
width: 200,
bodyPadding: 10,
renderTo: Ext.getBody(),
items: [{
xtype: 'datepicker',
minDate: new Date(),
handler: function(picker, date) {
// do something with the selected date
}
}]
});