I'm adding a css class to a row by calling row.addClass() function in javascript.
This works like a charm but when I expand the row (by clicking the +-icon) the css class is removed by the scheduler.
I can't edit the original question but I found out that css class is not removed by expanding the resource group, it's removed when calling Scheduler.update().
Still I wonder why this is and how this can be avoided.
Thanks
Comment posted by Marco 7 years ago.
bump
Answer posted by Dan Letecky [DayPilot] 7 years ago.
The CSS class added using addClass() is now persisted to DayPilot.Scheduler.resources[].cssClass and it will survive update() calls. It's implemented in the latest sandbox build (2018.4.3445):