본문으로 건너뛰기

getGridColumns

Description

간트 차트의 컬럼을 가져옵니다

getGridColumns: () => GridColumn[]

Returns

  • columns - (GridColumn[]) - 컬럼들을 포함하는 배열

Example

gantt.config.columns = [
{ name:"text", tree:true, width:150},
{ name:"start_date", align: "center", width:150},
{ name:"duration", align: "center", width:70},
{ name:"add", width:44, resize:true, hide:true}
];
gantt.getGridColumns(); //-> [{ name:"text", tree:true, width:150}, {...}, {...}]