Hi, I've been working with bryntum scheduler and wanted to show weeks in header but also have timespan of one month shown. So I have this config:
{
name: 'Planner Month View',
base: 'dayAndMonth',
tickWidth: 50,
shiftUnit: PLANNER_SHIFT_UNITS[PLANNER_PRESET_MONTH_ID], // ENUM
shiftIncrement: 1,
timeResolution: { ...timeResolution },
headers: [
{
unit: 'month',
dateFormat: 'MMMM',
},
{
unit: 'week',
dateFormat: 'WWp0',
},
{
unit: 'day',
dateFormat: 'dd DD',
},
],
},
But the issue is when I have week added in headers array the scheduler looks like this (showing more then one month):
But I want to have only one month visible like this (this is when I have headers without object with unit: 'week'):
Currently I'm telling scheduler to show month by saying .setTimeSpan(startDate, endDate)