PDA

View Full Version : Extjs DatePicker: How to enable 'Click/Select' on disabled dates using mouse click?



mhmda
29 Jul 2016, 9:34 AM
I'm using Extjs 4.2.5 datepicker for Rooms management, when user select a date I add it to an array and then call 'setdisableDates':

54861


sender.DisabledDates.push(date);
sender.setDisabledDates(sender.DisabledDates);

after user select a date it becomes disable and with css I change the background color to RED.
How can I enable click or Select on those dates that already disabled just in case the user made a mistake and want to cancel?
Thank you in advice

Jad
1 Aug 2016, 10:50 PM
Hello,

the select event is still fired.