Our pure JavaScript Scheduler component


Post by Mattis »

Hi,

Can u priovide an example of how to use the scheduler without the wrapper. The information provided on https://www.bryntum.com/docs/scheduler/#guides/integration/react.md is very limited.

I would like to se an example of the schedulerConfig.js file and how an how an scheduler on another .js file would consume the schedulerConfig.js.

Post by Maxim Gorkovsky »

Hello.
Scheduler is a standalone component and not a part of react framework. That's why we provide wrapper which shows how to use scheduler inside the react app.
If you don't want to use the wrapper, I guess you want to use it as a regular js class? In that case please see any scheduler demo.

Config can be imported as any other object with es modules system:
// config.js
export default {
  appendTo : document.body
}

// app.js
import config from "config.js";
import { Scheduler } from "scheduler.module.js";

new Scheduler(config)
If you need more information, please tell how do you want to use the scheduler and provide more information about your requirements.

Post Reply