I am using "TOAST UI Editor for React" extension. This is based on https://ui.toast.com/tui-calendar. I already implemented it in my project but unfortunately, I can't get the updated calendar data based on the calendar instance. Is there a way to get the json data for the current week view of the calendar?
This is the calendar code
<Calendar
ref={cal}
height="1000px"
view="week"
useCreationPopup={true}
useDetailPopup={true}
template={templates}
calendars={calendars}
schedules={calendarSchedule}
onClickSchedule={onClickSchedule}
onBeforeCreateSchedule={onBeforeCreateSchedule}
onBeforeDeleteSchedule={onBeforeDeleteSchedule}
onBeforeUpdateSchedule={onBeforeUpdateSchedule}
/>
I am using react and this is the reference variable
const cal = useRef(null);
In this variable cal , we can only get the calendarSchedule but not the adjusted schedule in the calendar when dragging the selected schedule.
Is there a way to get the updated schedule array?