I’m wondering how I can enforce fixed widths for the columns in the timeline area. I want each cell to be 48px (or some other size), and I’m wondering if there is a config option for this (I only see min_column_width, but that does not work because the scales will auto resize with how much space is available)?
Hello,
Gantt resizes the timeline scales and cells depending on the container size and the displayed date range.
So there are only 2 ways of how to set the fixed size:
- Use the
min_column_width
property and set a wider visible date range.
Here is an example:
http://prnt.sc/p5ms6x
http://snippet.dhtmlx.com/ec245f214 - Use the
min_column_width
property and set the fixed size for Gantt container. Here is an example:
http://prnt.sc/p5mtuq
http://snippet.dhtmlx.com/677290dd6