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

rightside_text

Description

Задает текст, присваиваемый полоскам задач на правой стороне

rightside_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-текст, который будет отрисован в gantt

Example

gantt.templates.rightside_text = function(start, end, task){
return "ID: #" + task.id;
};
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.