hideColumn

hides the specified column

void hideColumn(id id, [object options,boolean silent,boolean mode] );

Parameters

ididmandatory, the column id
optionsobjectoptional, an object with hiding options
silentbooleanoptional, if true, the datatable is not refreshed
modebooleanoptional, if true, the column is shown

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.

While data of the hidden column can still be accessed, API calls against it will result in 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.