본문으로 건너뛰기

layout

Description

레이아웃 객체를 지정합니다

layout: any

Example

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");

Details

노트

레이아웃 구성을 Gantt 초기화 전에 지정해야 합니다. 레이아웃에 변경을 가한 경우, resetLayout()을 사용하여 새로고침해야 합니다.

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.