사용자가 컬럼 경계를 드래그하여 컬럼 너비를 조정할 때 발생합니다
index | number | 컬럼의 인덱스 |
column | GridColumn | 컬럼 객체 자체 |
new_width | number | 업데이트된 컬럼의 너비 |
Available only in PRO Edition
gantt.attachEvent("onColumnResize", function(index, column, new_width){
if(!message){
message = gantt.message({expire:-1,
text:`<b>${gantt.locale.labels["column_"+column.name]}
</b> is now <b id='width_placeholder'></b><b>px</b> width`});
}
document.getElementById("width_placeholder").innerText = new_width
});
이 기능은 PRO 에디션에서만 사용할 수 있습니다.