sets a tooltip for the specified dates
date | Date|string|array | dates you want to set the tooltip for |
text | string | tooltip text |
showIcon | boolean | true to show an icon in the top-right corner of the cell |
usePopup | boolean | true to use dhtmlXPopup |
// single date
myCalendar.setTooltip(new Date(2013,01,04), "some text");
// or
myCalendar.setTooltip("2011-06-01", "some text");
// sets several days
myCalendar.setTooltip(["2011-06-01", "2011-06-02"], "some text");
// or
myCalendar.setTooltip([new Date(2011,5,1), new Date(2011,5,2)], "some text");
// with icon
myCalendar.setTooltip("2011-06-01", "some text", true);
// use popup
myCalendar.setTooltip("2011-06-01", "some text", true, true);