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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
If you have not checked yet, be sure to visit site of our main product Webix mvc library and page of javascript excel grid product.