attach class to event, based on event field

Hi.
i wonder how can i attach additional class to event, which name would be stored in db in new event field.

i want to colorize events according to this field.

i’ve searched answer for about 30 min. and didnt find anything, whats working :frowning:

i found it! :wink:
docs.dhtmlx.com/scheduler/custom … color.html

section: Attaching additional css classes to an event