Hi i want to use the timeline (month view) to create events with DragToCreate over months. (eg 2024-04-28 to 2024-05-02).
If i set size to 2 i can create from odd month to even month. Is there any possibilities that click on next only step one month instead of two monts (first shows jan-feb, click on next shows feb-mar)?
Or another solution to dragtocreate over month?
const myView = useMemo<MbscEventcalendarView>(
() => ({
timeline: {
type: 'month',
size:2,
weekNumbers: true
},
}),
[],
);
<Eventcalendar
clickToCreate={true}
dragToCreate={true}
dragToMove={false}
dragToResize={false}
eventDelete={true}
view={myView}
data={events}
resources={resources}
renderEvent={renderContent}
onEventCreate={create}
onEventDelete={deleteEvent}
/>
/Per-Erik