Zum Hauptinhalt springen

RTL

Description

Umschaltet Gantt in den Rechts-nach-Links-Modus

rtl: boolean

Example

gantt.config.rtl = true;
gantt.config.layout = {
css: "gantt_container",
rows: [
{
cols: [
{view: "scrollbar", id: "scrollVer"},
{view: "timeline", scrollX: "scrollHor", scrollY: "scrollVer"},
{resizer: true, width: 1},
{view: "grid", scrollX: "scrollHor", scrollY: "scrollVer"}
]
},
{view: "scrollbar", id: "scrollHor", height: 20}
]
};
gantt.init("gantt_here");

Standardwert: false

Details

Wenn die Konfigurationsoption auf true gesetzt wird, ändert sich die Richtung der Zeitachse in der Timeline und die Reihenfolge der Zeilen im Grid zu Rechts-nach-Links.

Es wirkt sich nicht auf das Layout des Gantt aus, daher müssen Sie das Layout neu definieren, um die Positionen von Grid und Timeline zu tauschen.

Vielleicht möchten Sie auch die Richtung des Textes für Labels, die im Gantt verwendet werden, festlegen.

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.