I am loading inlineData like this
multiProject.current.instance.inlineData = {
resourcesData: resources,
eventsData: events,
timeRangesData: timeRanges,
};
However, the timeRanges just won't show up - what am I doing wrong?
Timeranges look like this
const timeRanges = [
{
id: 1,
name: ``,
startDate: new Date(new Date().setHours(0, 0, 0, 0)),
endDate: new Date(new Date().setHours(24, 0, 0, 0)),
cls: 'today',
},
{
id: 2,
name: ``,
recurrenceRule: 'FREQ=WEEKLY;BYDAY=SA,SU;',
startDate: schedulerConfig.startDate,
endDate: schedulerConfig.endDate,
cls: 'weekend',
},
];