views:

305

answers:

1

I'm using FullCalendar as a large date picker with added features, and need to disable all Sundays and various other days throughout the year. Jquery UI date picker allows you to create methods for disabling dates. Is there a similar setup for FullCalendar?

A: 

b/c fullcalendar is not a datepicker (days cant be "selected"), there really is no notion of 'disabling' a day. if you don't want any events on a given day, simply filter your event data.

arshaw
Yeah, I needed a hybrid that shows events and allows for date picking with "disabled" Sundays and dates from a string, like the jQuery UI date picker. With some hacking I got what I needed. The only drawback being each time the "back" and "forward" buttons are clicked the entire calender must be re-rendered rather than reusing existing elements like in the standard script.Its still a work in progress and only implemented for the month view, but here is the gist: http://gist.github.com/361248Thanks for replying.