Перейти к основному содержимому

task_text

Description

Указывает текст в полосах задач и заголовке lightbox

task_text: (start: Date, end: Date, task: Task) => string | number | void;

Parameters

  • start - (required) Date - дата начала запланированной задачи
  • end - (required) Date - дата завершения запланированной задачи
  • task - (required) Task - объект задачи

Returns

  • text - (string | number | void) - HTML-текст, который будет отрисован на диаграмме Ганта

Example

gantt.templates.task_text=function(start, end, task){
return task.text;
};
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.