deletes a column by its id
columnId | number|array | the column id(s) |
$$("ssheet").deleteColumn(columnId);
If the columnId parameter isn't specified, the method deletes the selected column. The method can accept an array of ids as a parameter. In this case all the columns from the range will be deleted:
$$("ss").deleteColumn([2, 5]); // deletes all the columns from the range