hideColumn

hides the specified column

void hideColumn(id id, [object options,boolean silent,boolean mode] );
id
idmandatory, the column ID options
objectoptional, an object with hiding options silent
booleanoptional, if true, the datatable is not refreshed modebooleanoptional, if true, the column is hidden

Example

dtable.hideColumn("price");
 
// hides a column with a spanned header together with related columns
dtable.hideColumn("price", {spans:true});

Related samples

Details

By default, spanned columns are not affected by the actions performed upon the column that starts this span.

The data of the hidden column can still be accessed, but API calls against it will result in an error.

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 popular javascript framework and page of tree table product.