Zum Hauptinhalt springen

grid_resize

Info

Diese Funktion ist nur in der PRO-Edition verfügbar.

Description

Ermöglicht das Ändern der Größe des Grids durch Ziehen seines rechten Randes

Example

gantt.config.columns = [
{ name:"text", tree:true, width:"*", resize:true },
{ name:"start_date", align: "center"},
{ name:"duration", align: "center", width:70 },
{ name:"add", width:44 }
];

gantt.config.grid_resize = true; /*!*/
gantt.init("gantt_here");

Default value: false

Details

Hinweis

Diese Eigenschaft ist jetzt veraltet. Verwenden Sie stattdessen gantt.config.layout und konfigurieren Sie die grid- und resizer-Objekte nach Bedarf. Weitere Details finden Sie hier.

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

gantt.init("gantt_here");

Change log

  • Seit Version 5.0 als veraltet markiert

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.