<BryntumSchedulerPro
resources = {data.resources || []}
timeRanges={data.timeRanges || []}
resourceTimeRanges={data.resourceTimeRanges || []}
eventsVersion = {eventsVersion.current}
resourceTimeRangesFeature={true}
resourceNonWorkingTimeFeature = {true}
nonWorkingTimeFeature={ true }
startDate = {startDate}
visibleDate = {new Date()}
endDate = {endDate}
events = {data.events || []}
project ={ {
timeRangeStore: timeRangeStores,
resourceTimeRangeStore: resourceTimeRangeStore,
calendar: 'weekend',
calendarsData: data.calendars
}}
/>
In the above code resources and events I manage to handle the above scenario that is updating data dyynamically from api call after scheduler has been initialized.
Same issue is coming for calendarsData also and even if I will write calendarsData:data.calendars || [] it is not working.
the verison I am using is:-
"@bryntum/schedulerpro": "^4.1.2",
"@bryntum/schedulerpro-react": "^4.1.2"
I saw one of the forum that has the similar issue but in Angular viewtopic.php?f=44&t=17322&p=85946&hilit=resourceTimeRangeStore+of+%23%3CSchedulerPro%3E+which+has+only+a+getter#p85946
Is this has been fixed , What change I should do.