hides the specified column
id | id | mandatory, the column ID |
options | object | optional, an object with hiding options |
silent | boolean | optional, if true, the datatable is not refreshed |
mode | boolean | optional, if true, the column is hidden |
dtable.hideColumn("price");
// hides a column with a spanned header together with related columns
dtable.hideColumn("price", {spans:true});
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.