Reputation: 1
How to dynamically set the cell width of the right time axis in dhtmlx-gantt, for example, set the cell width of the cell belonging to November to 40px, while the cell width of other months is 20px.enter image description here
I tried using the gantt.config.min_column_width configuration, but the width of the cells on the right will be uniformly changed. I want the effect to be differentiated between different months.
Upvotes: 0
Views: 24
Reputation: 616
DHTMLX Gantt doesn’t have that functionality. There is no way to implement that, unless you modify the source code or redefine the internal functions that generate the scale elements. But this is not recommended as there is no guarantee that Gantt will work as expected. Also, when a newer version is released and you want to update, we won’t provide the guides on how to migrate the changes.
You can follow the discussion on the DHTMLX forum:
Upvotes: 0