My requirement is:- when I click on the zoom out button then want to decrease the timeline column width to some 20 and when I click again then change it to 10. only want to decrease 2 levels of column width.
and when I click on zoom in then it gets back to the original width so how I can do this?
and I am using this scale in my code:-
gantt.config.scales = [
{ unit: “hour”, step: 1, date: “%H” },
{ unit: “day”, step: 1, date: “%d %M”, css: daysStyle },
];
can you guys please help me?