When I configure fullCalendar with the initialization parameter "selectable: true", the select function is important, but I need to enable / disable this function dynamically! That is, the calendar stars are turned off with no choice, then the user presses the button, and I turn it on, click another button, and I turn it off again.
I checked the "Height" parameter API page (http://arshaw.com/fullcalendar/docs/display/height/) and it shows that I can set this parameter dynamically, but when I adapt the code to the "selectable" parameter, he does not do anything:
$('#calendar').fullCalendar("option", "selectable", true);
Any ideas? Thanks!
-Brian
source share