gantt.templates.date_scale

It seems it doesn’t work, also in your samples. It always uses the property gantt.config.date_scale value…

The problem seems to be in function _init_template used in function primaryScale. I’ve removed this call in primaryScale and now the date_scale template is used.

Confirmed, thank you for reporting. We’ll include the fix in the nearest update of the component

I am observing this issue in the most current version of dhtmlxGantt. When I create a template function for gantt.templates.date_scale, it is never executed. Please advise.

By the way, love this product. Very well done.

Hello.

We’re working on it. Possibly this behaviour will be fixed in next version. For now, you could try to initialize your templates in onTemplatesReady handler. ( docs.dhtmlx.com/gantt/api__gantt … event.html )
For example:
docs.dhtmlx.com/gantt/snippet/cbdc4d3c