I'm trying to set up the Scheduler component using a trial version. I am noticing something odd, and I was wondering what might be going wrong here. I followed the tutorials to set up the component, which works partially, but it doesn't apply some settings.
<Scheduler schedulerRef={schedulerRef}
resources={resources}
viewPreset="hourAndDay"
startDate={new Date(2017, 0, 1)}
endDate={new Date(2017, 0, 2)}
events={events}
columns={[
{ text: 'Name', field: 'name', flex: 1 }
]}
/>
The events, resources and columns are configured correctly. However, the viewPreset field and dates don't seem to be doing anything. The props are passed on to the scheduler though.
Any idea what I'm doing wrong here?