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 the columnId parameter isn't specified, the method hides the selected column.
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");