hideColumn

hides or shows the column

void hideColumn(number|array columnId,boolean state, [string page] );
columnIdnumber|arraythe column id(s)
statebooleantrue - to hide the column, otherwise - false
pagestringoptional, 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
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.