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

Task Box Text Color

Asked by Simon
2 years ago.

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

Answer posted by Dan Letecky [DayPilot]
2 years 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/

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.