甘特图 API事件onGanttScroll页面内容onGanttScroll Description 当甘特图滚动到特定位置时触发 onGanttScroll: (left: number, top: number) => void;Parameters left - (required) number - 水平滚动的位置 top - (required) number - 垂直滚动的位置 Examplegantt.attachEvent("onGanttScroll", function (left, top){ // 在这里插入您的自定义逻辑 });Related API scrollTo getScrollState showTask showDate Related Guides How-tos (了解如何在时间线中实现无限滚动) How-tos (了解如何动态加载任务) Need help?Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.