Login Register

_calendar

dijit _calendar isDisabledDate

I have two dijit _calendar thingies on a page, one for a "from" date and another for a "to" date.
Is it possible to override isDisabledDate to disable "from" dates later than the "to" date & "to" dates earlier than the "from" date? If so, any help would be most appreciated. I do know how to do basic stuff with isDisabledDate like, for example, making all days in the future invalid, but all my attempts to do this from/to filtering have met with tears.

Syndicate content