Hi
Trying to setup scheduler pro in React, passing project props with autoLoad: true and load url, the data does not get loaded.
Other properties such as resourcesData, eventsData, etc works...
Is there an example?
Hi david10sing,
Could you please provide a code snippet or test case what exactly are you trying to do? Also please provide a version of Scheduler Pro you are using.
Did you check our React example? https://bryntum.com/examples/scheduler-pro/frameworks/react/javascript/resource-histogram/build/index.html
Here is a code snippet how it should be done:
project: {
transport: {
load: {
url: 'data/data.json',
},
},
autoLoad: true,
}
Maybe you missed transport: {}
wrapper. It's hard to say without an example.
Btw, It works well in the example by the link I provided above.
All best,
Alex
All the best,
Alex
Hi david10sing,
It's hard to say without a test case.
Could you try it with our example?
https://bryntum.com/examples/scheduler-pro/frameworks/react/javascript/resource-histogram/build/index.html
If no luck, please share your code, we will review and find the problem. The best would be to have a runnable test case. You may start from trying to reproduce it in our example.
All best,
Alex
All the best,
Alex