Fullcalendar dayGrid from and to ranges

半城伤御伤魂 提交于 2020-06-01 05:10:11

问题


I am facing issue to set full calendar view for ranges of selected dates, As an example when I select dates from May 1 to May 7th using the code "calendar.changeView('dayGrid', {start: startDate,end: endDate});" , It shows all the selected dates in vertical columns as in the first section of the figure, similarly when I select dates from May 1 to May 8th it shows all the 8 columns in vertical view as in the second section of the figure, In other case for suppose If I select dates multiples of 7, such as from May 1 to May 14, the calendar view shows 2 horizontal rows, one for each 7 days attached in last section of the figure, So I tried to get the same horizontal view for 10 days like 7 dates are in first horizontal row and the remaining 3 days in second horizontal row, but could not able to get it. Please suggest the steps to achieve it. Thanks.

来源:https://stackoverflow.com/questions/62105331/fullcalendar-daygrid-from-and-to-ranges

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