deleteColumn of ui.spreadsheet, Methods Webix Docs

StartAPI Referenceui.spreadsheetMethods

deletes a column by its id

void deleteColumn(number|array columnId);

columnId

number|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

  • API

  • Articles

  • 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.

    Go to Forum

    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.