Zum Hauptinhalt springen

onGanttScroll

Description​

Wird ausgelöst, wenn das Gantt-Diagramm zu einem bestimmten Punkt gescrollt wird

onGanttScroll: (left: number, top: number) => void;

Parameters​

  • left - (required) number - die horizontale Scroll-Position
  • top - (required) number - die vertikale Scroll-Position

Example​

gantt.attachEvent("onGanttScroll", function (left, top){
// Fügen Sie hier Ihre benutzerdefinierte Logik ein
});
  • How-tos (lesen Sie, wie man eine unendliche Scroll-Funktion in der Timeline implementiert)
  • How-tos (lesen Sie, wie man Aufgaben dynamisch lädt)
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.