Baseline scroll question


#1

The display baseline was used like the image. However, gantt’s horizontal scrolling does not increase scrolling to the enddate of the baseline. Is there a way?


#2

Hello Seungmin,
It is expected behavior because Gantt checks only the start_date and end_date parameters to define the displayed date range. Baselines are saved in custom date properties, so you need to manually check them and specify the displayed date range in the gantt.config.start_date and gantt.config.end_date parameters:
https://docs.dhtmlx.com/gantt/api__gantt_start_date_config.html
https://docs.dhtmlx.com/gantt/api__gantt_end_date_config.html

Here is an example of how it can be implemented:
https://snippet.dhtmlx.com/5/ce5c18487