fires when the user is dragging the grid's border to resize the grid
old_width | number | the initial grid's width |
new_width | number | the new grid's width |
Available only in PRO Edition
gantt.attachEvent("onGridResize", function(old_width, new_width){
if(!message){
message = gantt.message({expire:-1,
text:"Grid is now <b id='width_placeholder'></b><b>px</b> width"});
}
document.getElementById("width_placeholder").innerText = new_width;
});
This functionality is available in the PRO edition only.