SpreadJS Documentation
getColumn Method
The column index.
The sheet area. If this parameter is not given, it defaults to viewport.
Gets the specified column in the specified sheet area.
Syntax
var instance = new GcSpread.Sheets.Sheet(name);
var value; // Type: Column
value = instance.getColumn(index, sheetArea);
function getColumn( 
   index : number,
   sheetArea : SheetArea
) : Column;

Parameters

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

Return Value

The column.
Example
This example returns information about the specified column.
activeSheet.getColumn(3).visible(false);
activeSheet.getCell(0,3).value("Test");
activeSheet.getColumn(1).width(100);
This example sets the column width.
activeSheet.getColumn(3).width("60");
See Also

Reference

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.