dhtmx gantt甘特图设置右侧时间线区域指定单元格的样式(不包括日期刻度的单元格)

38 阅读1分钟

官方链接:docs.dhtmlx.com/gantt/api__…

image.png

注:日期刻度的单元格样式由scale_cell_class和subscales中的css函数去设置,如下:

image.png

  • date.getDay() == 0代表星期天

  • date.getDay() == 6代表星期六