Spread.Sheets Documentation
getColumnVisible Method
GC.Spread.Sheets Namespace > Worksheet type : getColumnVisible Method
The column index.
The sheet area. If this parameter is not given, it defaults to viewport.
Gets whether a column in the specified sheet area is displayed.
Syntax
var instance = new GC.Spread.Sheets.Worksheet(name);
var value; // Type: boolean
value = instance.getColumnVisible(col, sheetArea);
function getColumnVisible( 
   col : number,
   sheetArea : SheetArea
) : boolean;

Parameters

col
The column index.
sheetArea
The sheet area. If this parameter is not given, it defaults to viewport.

Return Value

true if the column is visible in the sheet area; otherwise, false.
Example
This example returns the visible and width settings for a column.
var visible = activeSheet.getColumnVisible(1, GC.Spread.Sheets.SheetArea.viewport);
var width = activeSheet.getColumnWidth(1, GC.Spread.Sheets.SheetArea.viewport);
alert(visible);
alert(width);
See Also

Reference

Worksheet type