Custom Timeline scale

Hello. Actually i wanted to create a custom timeline . The time unit is seconds. But i want my timeline to continue as 58,59,60,61,62,63…and not as 58,59,00,01…

Also i wanted to add right mouse button click functionality without dhtmlx suite. Would you please guide me

Hello,

Hello. Actually i wanted to create a custom timeline . The time unit is seconds. But i want my timeline to continue as 58,59,60,61,62,63…and not as 58,59,00,01…

You need to use the format parameter and set the returning value via the function:
https://docs.dhtmlx.com/gantt/desktop__configuring_time_scale.html#dateformat

You will need to implement a custom solution to display seconds with the value greater than 60 as the Date object doesn’t have the methods that return it.
Here is an example where the scale cells have numbers instead of actual dates:
https://snippet.dhtmlx.com/5/ff7901127


Also i wanted to add right mouse button click functionality without dhtmlx suite. Would you please guide me

Gantt has the onContextMenu event that fires when you click the right-mouse button inside Gantt:
https://docs.dhtmlx.com/gantt/api__gantt_oncontextmenu_event.html

But there is no ready solution to show a popup menu after that, so you will need to implement a custom solution.
I have the following example of the implementation to hide or show grid columns:
https://snippet.dhtmlx.com/nchoniir

It will help you to start implementing your solution.

In the future, the dev team will add that functionality, but I cannot give you any ETA.