甘特图 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 操作指南 (查看如何设置无限滚动) 操作指南 (查看如何动态加载任务) 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.