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

Parameters

value
The cell type.

Return Value

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

Reference

Cell type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.