Hi,
When I scroll the mouse, Gantt Grid immediately jumps to 3 or 4 tasks. For example, the first task in the container view is Task 1, and after scrolling, it becomes Task 5. Can I customize the pixels that jump when the mouse scrolls, or make the scrolling transition smoother
Hello,
Gantt doesn’t have a way to customize how many pixels the scrollbar should scroll. There is a way to change the scrolling speed with the wheel_scroll_sensitivity
parameter:
https://docs.dhtmlx.com/gantt/api__gantt_wheel_scroll_sensitivity_config.html
But that parameter is not mapped to the task rows. So, depending on the height of the task rows, you will scroll to different number of rows.
If you want to scroll to the next or following task row with the mouse wheel, you need to implement a custom solution.
Here is an example that can help you to start implementing your solution:
https://snippet.dhtmlx.com/9783x23i