hideColumn

hides the specified column

void hideColumn(id id, [object options,boolean silent,boolean mode] );
ididmandatory, the column ID
optionsobjectoptional, an object with hiding options
silentbooleanoptional, 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
Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript website framework and page of datatable js product.