Skip to content

onColumnResize

fires when the width of a column was changed

function onColumnResize(
// the id of the column
id: string,
// the new width set for the column
newWidth: number,
// the previous width of the column
oldWidth: number,
// true if the column was resized by a user action
user_action: boolean
): void
grid.attachEvent("onColumnResize",
function(id,newWidth,oldWidth,user_action){
alert("New column width: " + this.getColumnConfig(id).width );
});