PDA

View Full Version : Dates are not visible in Extjs3.0 Datepicker



sundeep kapadia
17 Jul 2015, 3:35 AM
items:[{
xtype:'datepicker',
minDate:newDate(),
}]


this is only config properties i have for date picker, is there anything else i need to add. please help.

Gary Schlosberg
17 Jul 2015, 9:28 AM
I don't see minDate as a valid config on the datepicker. Seems to be working in this Fiddle:
https://fiddle.sencha.com/#fiddle/qmv

sundeep kapadia
19 Jul 2015, 9:48 PM
thanks for the reply i ...i got the issue, some config elements were missing..


but now on selection of dates the date picker is not hiding.... i cant use the datefield as it doesnt suits the requirement..please help on this


this.dateMenu = new Ext.DatePicker ({
scope:this,
handler: function(dp, date){
this.doSuspend(dp, date);
}
});


is there anything i forget to set to hide the datepicker on selection of dates

Gary Schlosberg
20 Jul 2015, 3:53 PM
It should hide on selection. Does it not do so for you in my test case?