툴팁에 표시될 텍스트를 설정합니다
start | Date | 작업이 시작될 예정인 날짜 |
end | Date | 작업이 완료될 예정인 날짜 |
task | Task | 작업 객체 |
gantt.templates.tooltip_text = function(start,end,task){
return "<b>Task:</b> "+task.text+"<br/><b>Start date:</b> " +
gantt.templates.tooltip_date_format(start)+
"<br/><b>End date:</b> "+gantt.templates.tooltip_date_format(end);
};
이 템플릿은 tooltip 확장의 일부이므로, tooltip 플러그인이 활성화되어 있어야 합니다. 자세한 내용은 Gantt 요소의 툴팁 문서를 참고하세요.