This is a common feature that is not present on this control.
Are there any workarounds to implementing blackout dates? I've tried extending the igDatePicker, but can't seem to bind to anything useful...
Hi cperez,
Can you give more details about functionality related to "blackout" dates?If it is about min/max values, then that should work in latest versions. Example:
$('#datepicker1').igEditor({ type: 'datepicker', button: 'dropdown', minValue: new Date(2012, 1, 10), maxValue: new Date(2012, 5, 20)});
Passing min/max options to jquery.datepicker was missed by older versions. In older version it could be implemented by application using something like below:
$('#datepicker1').igEditor({ type: 'datepicker', button: 'dropdown', datepickerOptions: { minDate: new Date(2012, 1, 15), maxDate: new Date(2012, 6, 20) }});
If blackout dates means specific dates like holidays, then igEditor/igDatePicker is limited by options available for jquery.datepicker. If datepicker has those options (or it will have them in the future), then they should be supported by igDatePicker as well through datepickerOptions: {....}
Thank you.
What I wanted was to handle holidays.I didn't notice the datepickerOptions property.
With that I was able to modify the beforeShowDay property to apply my blackout day logic. It's working very close to what I wanted.