I think I've identified a bug with the Scheduler Pro, there seems to be an issue with the Scheduler Pro where events won't show till you resize the browser or take some other action on the scheduler(the events exist in the eventstores). I've attached two identical example apps one with Scheduler one with Scheduler Pro, it works with the original Scheduler but not with 'Pro'. Both examples are built off the get started guide but I added the mock API call, both will work if you go back to the project autoload feature. We need support loading events from a 3rd party backend and don't have a direct API call for the autoload feature.
This is kind of critical as we need a way for this to work or a work around.
Thanks,
Paul
Both work as expcted if you go back to this data load method.
Hi, I got the same issue in our product where we are using Scheduler Pro
But it does not happen all the time, Our client reports that in random cases no bookings get displayed in Scheduler.
We think it might be in cases when the Scheduler stays open for a long time (a day, or two) and then user starts using the tool again.
I can confirm that SchedulerPro does not handle single assignment well when passed already instantiated records. Have opened a ticket here https://github.com/bryntum/support/issues/8430
To work around it until it is fixed, could you pass raw data objects instead? Unless you are doing some advanced preprocessing, that should reduce your code also, and let you improve performance (allows configuring stores with useRawData to not clone incoming data).
I've included both setting of assignments and using the project model and both react the same way, it doesn't work unless you resize the browser window.
Our scenario is simple. We are in a pretty big crunch as we were working with Scheduler for POC and licensed the Pro version which isn't working the same way so if you can help me get pointed in right direction with below scenario it would be huge.
React App
1) Need to load data from an API we have no control over
2)Map that end point data into Brytnum models
3)Display data on the calenar.
I was able to find a way to make it work with the code below. Not sure if this will cause other other issues but seems to work to render the initial events.
Having revisited your testcase, I see that the fail vector I first found was not the real cause. Will look into it further on Monday, what you are doing in the app should work without needing a forced refresh. Ticket to track my progress on that: https://github.com/bryntum/support/issues/8454