onColumnResize

fires when the width of a column was changed

void onColumnResize(string id,number newWidth,number oldWidth,boolean user_action);
id
stringthe id of the column newWidth
numberthe new width set for the column oldWidth
numberthe 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 web development library and page of javascript datatable product.