| Issue 1392: | Update 'weekends' option from Javascript | |
| 5 people starred this issue and may be notified of changes. | Back to list |
Weekends can be shown or hidden during the initial setup of the fullcalendar, but it can't be altered from Javascript afterwards.
For example, it would be handy to be able to control this via a checkbox change event:
<input type="checkbox" onchange="calendarShowWeekend(this);" />Show Weekends?
..
function calendarShowWeekend(chkbox) {
$("#calendar").fullCalendar('option', 'weekends', chkbox.checked);
$("#calendar").fullCalendar('render');
}
Regards,
Dan
|
|
| ► Sign in to add a comment |
Labels: -Type-Enhancement Type-Feature
Mergedinto: 293