onGanttScroll

fires when the Gantt chart is scrolled to a particular point

void onGanttScroll(number left,number top);
leftnumberthe position of horizontal scroll
topnumberthe position of vertical scroll

Example

gantt.attachEvent("onGanttScroll", function (left, top){
    // any custom logic here
});

See also
  • API
  • Articles
    • How-tos (read how to implement an infinite scroll)
    • How-tos (read how to load tasks dynamically)
  • Back to top