Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Digo on Dec 17, 2009 00:50
open dhtmlx forum
Events-Coloring in year-view and agenda-view?

How can I use events-coloring in the year-view and agenda-view?

Day/Week/Month views are working fine.

Thanks!
Digo
Answer posted by Alex (support) on Dec 17, 2009 01:35

Hello,

to set event style in the agenda view you can try to use agenda_text template. The default template is:

scheduler.templates.agenda_text = function(ev){
    return ev.text;
}

But currently there isn't opportunity to use event-coloring in year view. We'll try to add this feature in the nearest time. 

In the current version it is possible only change style of all events in year view:

.dhx_month_head.dhx_year_event {
    background-color:#FFE763;
}