SpreadJS Documentation
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 GcSpread.Sheets.Sheet(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, GcSpread.Sheets.SheetArea.viewport);
var width = activeSheet.getColumnWidth(1, GcSpread.Sheets.SheetArea.viewport);
alert(visible);
alert(width);
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.