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

Task Box Text Color

Asked by Simon
1 month ago.

Is it possible to change the color of Task Box Text from Grey to White for example.

Answer posted by Dan Letecky [DayPilot]
1 month ago.

You can change the text color using onBeforeTaskRender event:

dp.onBeforeTaskRender = function(args) {
  if (args.type === "Group") { 
    args.data.box.fontColor = "#ffffff";
  }
};

See also:
https://api.daypilot.org/daypilot-gantt-onbeforetaskrender/

New Reply
This reply is
Your name (optional):