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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
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.