- Sorry about the delayed response.
If you're still looking for a solution, your best bet would be to
over-ride the Calendar's out-of-the-box renderCellDefault and
Removing the "selectable" class and anchor from the cells will prevent
the cells from being selected. NOTE: This will only prevent UI
interaction. You will still be able to programmatically select
You can then add custom renderers to the mix also.
Here's a quick example:
The YAHOO.util.Event.stopEvent method is intended to be used with Dom
events and is not applicable to CustomEvents. Also the Calendar doesn't
currently allow you to prevent selection via the beforeSelectEvent
Hope that helps,