Disables certain date(s) in calendar. Other dates will be active.
Parameters:
setInsensitiveDays((["2011-07-10,2011-07-11",new Date(2011,6,17),"2011-07-18"]));// July 10, 2011, July 11, 2011, July 17, 2011, July 18, 2011 will be dimmed. All other dates will be active.
Description:
There are 6 different ways to call the method:
//disables a single day myCalendar.setInsensitiveDays("2011-06-01"); //or myCalendar.setInsensitiveDays(new Date(2011,5,1)); //disables several days myCalendar.setInsensitiveDays(["2011-06-01,2011-06-02,2011-06-03"]); //or myCalendar.setInsensitiveDays(["2011-06-01","2011-06-02,2011-06-03"]); //or myCalendar.setInsensitiveDays(["2011-06-01","2011-06-02","2011-06-03"]); //or myCalendar.setInsensitiveDays([new Date(2011,5,1),"2011-06-02,2011-06-03"]);
See also: