tooltip_text

툴팁에 표시될 텍스트를 설정합니다

startDate작업이 시작될 예정인 날짜
endDate작업이 완료될 예정인 날짜
taskTask작업 객체

Example

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);
};

Details

이 템플릿은 tooltip 확장의 일부이므로, tooltip 플러그인이 활성화되어 있어야 합니다. 자세한 내용은 Gantt 요소의 툴팁 문서를 참고하세요.

See also
Back to top