hideColumn

hides or shows the column

void hideColumn(number|array columnId,boolean state, [string page] );
columnId
number|arraythe column id(s) state
booleantrue - to hide the column, otherwise - false page
stringoptional, the name of the sheet. If not specified, the method is applied to the current sheet

Example

$$("ssheet").hideColumn(2, true, "Sheet1");

Details

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");
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.
    If you have not checked yet, be sure to visit site of our main product Webix javascript ui components library and page of web spreadsheet product.