FullCalendar - 1 Day Vertical Resource View - Only Show Specific/Individual Dates

生来就可爱ヽ(ⅴ<●) 提交于 2021-02-11 15:24:59

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!