search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Change color on header click

Asked by Amine
6 days ago.

Hello ,
I would like to change the color of the selected header
I'm currently using:

dpc.onHeaderClick = function(args) {
  if(stockDates.indexOf(args.header.start)==-1)
  {
    stockDates+=args.header.start+"  ";
    dates+="1A"+dateStandard(args.header.start.toStringSortable())+"Z";
    nbDtes++;
  }
  else
  {
    stockDates=stockDates.replace(args.header.start,'');
    nbDtes--;
    dates=dates.replace("1A"+dateStandard(args.header.start.toStringSortable())+"Z",'');
  }
};

But is there a way to change the color or keep the shadow when I click on the header?

Answer posted by Dan Letecky [DayPilot]
3 days ago.
New Reply
This reply is
Your name (optional):