TIMELINE_second_scale_date
к сведению
Эта функция доступна только в PRO-версии.
Description
Определяет элементы, отображаемые на вторичной оси X
TIMELINE_second_scale_date: (date: Date) => string;
Parameters
date- (required) Date - дата, которую необходимо отформатировать
Returns
text- (string) - html-контент, используемый для отображения в scheduler
Example
scheduler.templates.timeline_second_scale_date = function(date){
var timeline = scheduler.matrix.timeline;
var func = scheduler.date.date_to_str(
(timeline.second_scale && timeline.second_scale.x_date)?
timeline.second_scale.x_date:scheduler.config.hour_date
);
return func(date);
};
Applicable views: Timeline view
Details
примечание
Этот template работает только при включенном плагине timeline.
Related Guides
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.