Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by cosmic on Dec 22, 2009 09:47
open dhtmlx forum
How to change the color for the "today" column?

Hi!

I don't want the column for today be highlighted. It just should render in the same color than the other columns.

1.) So how could i change the color that is used for "high-lighting" the current day (=today) column?
2.) How could highlighting be disabled?

Thanks for your support!

Answer posted by Alex (support) on Dec 23, 2009 02:23

Hello,

the current day is highlighted by an image.

You can use week_date_class template to define the necesssary image for "today".

To use the same image as for other days you can use the following approach:

<style type="text/css" media="screen">

 .current{background-image:url(../../codebase/imgs/databg.png) !important;}
 
</style>
 ...

scheduler.templates.week_date_class= function(d,today){
   if(d.valueOf() == today.valueOf()) return "current";
   return true
}