scrollLayoutCell
Description
Scrollt die Layout-Ansicht an die angegebene Position
scrollLayoutCell: (name: string, x: number | null, y: number | null) => void
Parameters
name- (erforderlich) string - der Name der Layout-Ansichtx- (erforderlich) number | null - optional, der Wert des horizontalen Scrolls oder 'null' (falls die Scroll-Position nicht geändert werden soll)y- (erforderlich) number | null - optional, der Wert des vertikalen Scrolls oder 'null' (falls die Scroll-Position nicht geändert werden soll)
Example
// scrollt die Layout-Ansicht nur horizontal
gantt.scrollLayoutCell("resourceTimeline", 50);
// scrollt die Layout-Ansicht nur vertikal
gantt.scrollLayoutCell("resourceTimeline", null, 50);
// scrollt die Layout-Ansicht sowohl horizontal als auch vertikal
gantt.scrollLayoutCell("resourceTimeline", 100, 100);
Details
Hinweis
Related API
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.