deleteColumn

deletes a column by its id

void deleteColumn(number|array columnId);
columnIdnumber|arraythe column id(s)

Example

$$("ssheet").deleteColumn(columnId);

Related samples

Details

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
See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix web development library and page of web spreadsheet product.