SpreadJS Documentation
cellType Method
The column cell type.
Gets or sets the cell type for the column.
Syntax
var instance = new GcSpread.Sheets.Column(sheet, index, sheetArea);
var returnValue; // Type: BaseCellType
returnValue = instance.cellType(value);
function cellType( 
   value : BaseCellType
) : BaseCellType;

Parameters

value
The column cell type.

Return Value

The column cell type.
Example
This example creates a check box cell.
activeSheet.getColumn(1).cellType(new GcSpread.Sheets.CheckBoxCellType());
See Also

Reference

Column type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.