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

Change color on header click

Asked by Amine
3 years 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 years ago.
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.