Hi there,
we are using the SchedulerPro in combination with Vue. The inline data feature is very convenient in this case, such that we can just pass in events, resources, and everything else as a prop. Apparently, I noticed there is a mismatch in the calendars, which could be improved. Basically, the problem is that we cannot update calendars via this inline interface, which is a bit annoying.
The current workflow when using calendars on events is like this (at least from what I saw):
- 1. Pass in inline calendars data to create calendars (with id, intervals, ...)
- 2. Retrieve the actual CalendarModel and assign it to the event
- 3. To update calendar, use special
addInterval
orclearInterval
functions - 4. This will trigger
change
event on eventStore (when event needs rescheduling after calendar update)
The problem with that flow is that I cannot stick with only the inline functionality, but still need to work with the CalendarModel after all. The improved flow would be like this:
- 1. Pass in inline calendars data to create calendars (with id, intervals, ...)
- 2. Only set the id of the calendar on the event
- 3. Directly update the intervals of the inline calendar data (of the array passed into the component)
- 4. This will already trigger
change
event on eventStore (when event needs rescheduling after calendar update)
I believe this could be a nice improvement. How hard would that be? It would already help me a lot if one could set the calendar of the event by just using the id and not the whole model. Could at least that be doable short term?
Thanks!