onColumnResize

fires when width of column was changed

void onColumnResize(string id,number newWidth,number oldWidth,boolean user_action){ ... };

Parameters

idstringid of the column
newWidthnumberthe new width set for the column
oldWidthnumberthe previous width of the column
user_actionbooleantrue if column was resized by user action

Example

$$("table").attachEvent("onColumnResize", function(id,newWidth,oldWidth,user_action){
    alert("New column width: " + this.getColumnConfig(id).width );
});

Back to top
If you have not checked yet, be sure to visit site of our main product Webix web development library and page of javascript datatable product.