onColumnResize

fires when the width of a column was changed

void onColumnResize(string id,number newWidth,number oldWidth,boolean user_action);
idstringthe id of the column
newWidthnumberthe new width set for the column
oldWidthnumberthe previous width of the column
user_actionbooleantrue if the column was resized by a 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.