Hi, based on a condition, I want to change the text color of a particular event.
I tried to change it inside the eventRenderer and gave the below:
tplData.style += 'color:' + black + ';'
but it doesn't change the text color to black.
Did you check our example in docs? https://bryntum.com/docs/scheduler/#Scheduler/view/mixin/SchedulerEventRendering#config-eventRenderer
eventRenderer({ eventRecord, resourceRecord, renderData }) {
renderData.style = 'color:white'; // You can use inline styles too.
[...]
And these examples:
https://bryntum.com/examples/scheduler/customeventstyling/
https://bryntum.com/examples/scheduler/eventstyles/
I checked in in our online basic example, all works as expected. If you have problems with it, please share your code
All the best,
Alex