Hello,
i would like to know, if it is possible to render a React Component inside the eventBodyTemplate?
so something like:
<BryntumSchedulerPro
eventBodyTemplate={(event: SchedulerEventModel) => <Fragment>...</Fragment>}
/>
Hi,
You can use React components on the timeline but you need to use eventRenderer
, not eventBodyTemplate
.
https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/SchedulerEventRendering#config-eventRenderer
You can find a demo in examples-scheduler/frameworks/react/javascript/react-events folder in sources you downloaded from CustomerZone.
Online: https://bryntum.com/products/scheduler/examples/frameworks/react/javascript/react-events/build/
All the best,
Alex
It worked, but now i am facing this:
https://www.mediafire.com/file/9sp912procdh3gm/bryntum.webm/file
We are using Bryntum Scheduler Pro version 5.3.5