The CalHeading ObjectThe CalHeading Object is a container for properties and methods related to the calendar's day headings, such as highlighting columns on multi-select mode. There is no need to learn this object's functionality unless you plan to modify your calendar's inner workings. ConstructorCalHeading(owner,tableCell,dayOfWeek)The CalHeading object constructor. This function runs when a new instance of CalHeading is created (i.e. chead = new CalHeading(...)). Arguments
Return Values(none)Public PropertiesdayOfWeekint {0,1,2,3,4,5,6} CalHeading::dayOfWeek The day of week (0:Sunday to 6:Saturday) this CalHeading is associated with. Private Properties(none)Private MethodsdayHeadingonclick()Event handler that selects/deselects the calendar cells whose days match this object's day of week. Called when the user clicks on a day heading in multiselect mode only. Arguments(none)Return Values(none)UsageThis method itself cannot be called directly; it is assigned to a DOM element from the CalHeading constructor. |