Scheduler timeline view width of 1st column


Is there any way to change the width of the first timeline column containing the labels as the chart is built?

I have tried using the scheduler.templates.timeline_scaley_class to set a class and then changing the width here but although the 1st column width is changed correctly, the other x axis labels are not re-sized also the width of the timeline is not changed.


Try changing the value of ‘dx’ on line 28 in ext\dhtmlxscheduler_timeline.js (‘200’ by default).


Discocat was close but still no.

scheduler.createTimelineView({ name: "timeline", x_unit: "minute", x_date: "%H:%i", x_step: 30, x_size: 24, x_start: 16, x_length: 48, y_unit: sections, y_property: "section_id", dx: 40, // NEW LINE render:"bar" });
That’s it.

Kind regards,