specifies the CSS class that will be applied to the event's container

startDatethe date when an event is scheduled to begin
endDatethe date when an event is scheduled to be completed
evobjectthe event's object


scheduler.templates.event_class = function(start,end,ev){
    return "";

Applicable views:Day View, Month View, Week View, Year View, Units View, Timeline View

Related samples


In case of the Timeline view, the template is applied to 'Bar' and 'Tree' modes only.

Check the full information about customization of events colors in the related article Custom Event's Color.

See also
Back to top