Hi Can we add transition of scales while change scale of Gantt timeline


#1

Hi
Can we add transition of scales while change scale of Gantt timeline


#2

Hello Hajaj,
There is no built-in way to do that. You need to implement a custom solution by using the Gantt API and Javascript.
Unfortunately, I don’t have a ready example.


#3

I m stuck on adding scale width transition can u please provide me a example ASAP?


#4

Hello Hajaj,
There is no built-in way to set a fixed size for the timeline cells. You can only set the minimal width the cell could have, but it can be larger.

Gantt resizes the timeline scales and cells depending on the container size and the displayed date range.

So, if the container size and the visible date range allow Gantt to render small cells, you will be able to set small values.
In the following example, you can click on the + and - buttons to change the width of the scale cells. Depending on that, the zoom level may change:
https://snippet.dhtmlx.com/5/074777686

If you want us to implement a solution for you, I can contact you with the Sales team.


#5

Thanks ramil,

Is it possible to contact to your IT team?
Because this is the last thing we would like to implement in this project.


#6

Hello Hajaj,
Here is the email of the Sales team that you can use to ask for custom development service:
sales@dhtmlx.com