There are times when I need to show the week before the start of the month or the week after the end of the month. I was able to use validRange to make it so that it would not show the grayed out dates at the end of the calendar by doing this:
$('#USER_CAL_calendar').fullCalendar('option', 'validRange', {
start: $v("P11_RANGE_START"),
end: $v("P11_RANGE_END")
} );
But that was only part of the issue. Take for instance September 2019, The 1st falls on a Sunday so the first row of the calendar is all that I can see. I need it to show August 30th and 31st as well.
I need it to display the week of August 25th as the top row of the calendar. I have tried this but can't get it to work:
$('#USER_CAL_calendar').fullCalendar('option', 'validRange', {
start: $v("P11_RANGE_START"),
end: $v("P11_RANGE_END")
}, 'renderRange', {
start: $v("P11_RANGE_START"),
end: $v("P11_RANGE_END")
}, 'visibleRange', {
start: $v("P11_RANGE_START"),
end: $v("P11_RANGE_END")
}
);
P11_RANGE_START is 2019-08-30
P11_RANGE_END is 2019-10-01