JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Gantt › zoom/cell width
Hello,
Is there any way to change the size of the timeline-cell, in some kind of zoom, so i can make days wider or shorter.
I tried changing the root variable –smart-gantt-chart-timeline-cell-size but it is overwritted by style property:
https://ibb.co/qCrtRnk
Thanks
Hi,
Your selector must match the gantt element and in it, you should change the style. For example:
#gantt { –smart-gantt-chart-timeline-cell-size: 200px }
Here is a demo of doing the desired zoom: https://codepen.io/svetoslavb04/pen/oNMXvep
I hope this helps! If not, do not hesitate to contact us!
Best Regards, Svetoslav Borislavov
Smart UI Team https://www.htmlelements.com/