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

quick_info_title

Description

Указывает заголовок всплывающей формы редактирования

quick_info_title: (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.quick_info_title = function(start, end, task){ 
return ev.text.substr(0,50);
};

Details

заметка

Этот шаблон определяется в расширении Quick Info, поэтому необходимо активировать плагин quick_info.

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.