Zum Hauptinhalt springen

scrollTo

Description

Scrollt den Gantt-Container zur angegebenen Position

scrollTo: (x?: number | null, y?: number | null) => void

Parameters

  • x - (optional) number | null - der horizontale Scrollwert oder 'null', wenn keine Änderung erforderlich ist
  • y - (optional) number | null - der vertikale Scrollwert oder 'null', wenn keine Änderung erforderlich ist

Example

gantt.scrollTo(30, 80); // scrollt den Container sowohl horizontal als auch vertikal

gantt.scrollTo(30, null); // scrollt den Container nur horizontal

gantt.scrollTo(null, 80); // scrollt den Container nur vertikal
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.