can't edit tas_cell_class

when setting

gantt.config.static_background = true;

in the gantt chart following function won’t be called by the gantt.

gantt.templates.task_cell_class = function (item, date) { if (date.getDay() == 0 || date.getDay() == 6) { return "left-border" } };

There is too much of a performance hit not to set it to False. How can I edit the cell styles?

Hi,

Unfortunately you need to make choice in favor of something one.

Because when you set this template, it is called for each date displayed on the page and it also reduce perfomance. So if you set ‘static_background = true’, this includes the non-use of template.