Hi. The calendar options are working great, I'm just wondering how customisable they are.
I'm trying to make a 3-day week view like they have as an example at
https://fullcalendar.io/docs/timegrid-view
(links to https://fullcalendar.io/docs/timegrid-custom-view-demo and the code in code pen is at https://codepen.io/pen/?&editors=001 )
In the mydbr report code I tried the following, but it didn't work (I define the view then set it as default then reference it in the header). I'm guessing the view definition either is wrongly formatted.
SELECT 'dbr.calendar.options', 'views', "timeGridThreeDay: {type: 'timeGrid', duration: { days: 3 }, buttonText: '3 day'}";
SELECT 'dbr.calendar.options', 'defaultView', 'timeGridThreeDay';
SELECT 'dbr.calendar.options', 'headerToolbar','{"left":"timeGridThreeDay,listWeek,timeGridWeek,timeGridDay","center":"","right":""}';
Also note that in the documentation, the 'header' option has been updated in FullCalender 5 as 'headerToolbar' instead with values for the view buttons as dayGridMonth,timeGridWeek,timeGridDay,listWeek. Also the left,centre,right has been modernised to be start,center,end for RTL languages but the mydbr extension doesn't seem to recognise these (left,center,right still work). More changes from v4 to v5 are at https://fullcalendar.io/docs/upgrading-from-v4