I want to change the color of event title bar color based on event status. Is this possible? If possible please let me know how can i implement this?
Thanks in advance
Shiju
I want to change the color of event title bar color based on event status. Is this possible? If possible please let me know how can i implement this?
Thanks in advance
Shiju
You can use event_class template
docs.dhtmlx.com/doku.php?id=dhtm … appearance
Header element of event has next css classes ( there are two divs )
.dhx_cal_event .dhx_header
.dhx_cal_event .dhx_title
I want to color event title based on status. Status will be dynamic. In the above link event coloring is for the whole event box. I want to color the title only based on the event status.
a) Mentioned sample assigns color dynamically , based on some property of event
b) The special class assigned to whole event, but you can use css classes from above post to change color not for all event, but only for its header.
Hi,
I want set style of dhx_title, but i cant see any function to set dhx_title class just like
scheduler.templates.event_class=function(start,end,event){
if (start < (new Date())) //if date in past
return “past_event”; //then set special css class for it
alert(event.apmt_status);
}
Please help me with some code snippet. How can set class for dhx_title? Please find the attachment thats what i need.
Please reply
Thanks in advance
Shiju
Anyone please tell me solution for above problem.
Thanks in advance
Shiju