본문으로 건너뛰기

getGridColumn

Description​

열의 구성 객체를 가져옵니다.

getGridColumn: (name: string | number) => GridColumn

Parameters​

  • name - (required) string | number - 열의 이름

Returns​

  • column - (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.getGridColumn("text");//->{ name:"text", tree:true, width:150}
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.