Date: Tue, 23 May 2017 12:57:07 -0600
From: Kevin Hale Boyes <[hidden email]>
Subject: [Dojo-interest] Migrating from YAHOO.widget.Calendar to dojo
To: [hidden email]
Content-Type: text/plain; charset="utf-8"
I'm in the process of migrating my application from YAHOO YUI framework to
We're on version 2.9 of YUI and are moving to dojo 1.10.4 (I know it's not
the latest, sorry).
The piece I'm currently working on is moving from YAHOO.widget.Calendar to
I've run into something that I don't know how to do and was hoping someone
here could help.
YUI Calendar allows us to customize the cell contents of the calendar.
For example, we can change the colour of a particular day in the calendar
while keeping the others unchanged.
Or we can disable selection of particular dates if they're not allowed in
We do that using the addRenderer() function on the calendar.
I'm not sure if images will come through but here is what it looks like:
[image: Inline images 2]
In case the image isn't shown, we have a standard calendar picker displayed
with a few of the day cells coloured green.
In addition, they are the only ones that are selectable.
So, my question is, is there any way to disable certain dates and render
others specially when using the DateTextBox?