问题
I am trying to set up my FullCalendar to only show specific dates when using the 1 day Vertical Resource View.
For example, I want the user to only see 2020-03-22, 2020-04-12 and 2020-04-15. I can figure out how to set a date range, but not how to only show individual dates:
var calendar = new Calendar(calendarEl, {
defaultView: 'resourceTimeGridDay',
defaultDate: '2020-03-22'
visibleRange: {
start: '2020-03-22',
end: '2020-04-15'
}
});
Here is an example of the 1-day vertical resource view: https://fullcalendar.io/docs/vertical-resource-standard-demo
来源:https://stackoverflow.com/questions/60298319/fullcalendar-1-day-vertical-resource-view-only-show-specific-individual-date