adjustColumn

adjusts a column to the width of the content

void adjustColumn(string|number id, [string mode] );
id
string|numbercolumn ID mode
stringoptional, the adjustment mode ("header", "data", "all")

Example

datatable.adjustColumn("title");
datatable.adjustColumn("title", "header");

Details

The adjustment modes are:

See also
  • API
  • Articles
  • 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 tree table product.