hideColumn
hides the specified column
function hideColumn( // mandatory, the column ID id: id, // optional, an object with hiding options options?: WebixDatatableHideColumnConfig, // optional, if true, the datagrid is not refreshed silent?: boolean, // optional, if true, the column is hidden mode?: boolean): void
Example
Section titled “Example”dgrid.hideColumn("price");
// hides a column with a spanned header together with related columnsdgrid.hideColumn("price", {spans:true});
also check the next samples:
Details
Section titled “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
Section titled “See also”Articles
API