rtl
Description
Wechselt 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");
Default value: false
Related samples
Details
Wenn diese Option durch Setzen auf true aktiviert wird, ändert sich die Richtung der Zeitskala der timeline und die Reihenfolge der Zeilen im grid auf rechts-nach-links.
Diese Einstellung aktualisiert die Gantt-Layout-Konfiguration nicht automatisch, daher müssen Sie das Layout selbst anpassen, um die Positionen von grid und timeline zu tauschen.
Sie sollten auch die Textausrichtung für Labels im Gantt anpassen.
Related Guides
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.