hides or shows the column
| columnId | number|array | the column id(s) |
| state | boolean | true - to hide the column, otherwise - false |
| page | string | optional, the name of the sheet. If not specified, the method is applied to the current sheet |
$$("ssheet").hideColumn(2, true, "Sheet1");
If you pass null instead of columnId and true as state, the method hides the selected columns of the active sheet.
The method can accept an array of ids as the first parameter. In this case, all the columns from the range will be hidden:
// hides all the columns from the range
$$("ssheet").hideColumn([2, 5], true, "Sheet1");