GC.Spread.Sheets 名前空間 > Worksheet タイプ : getCellType メソッド |
Javascript (Usage) | |
---|---|
var instance = new GC.Spread.Sheets.Worksheet(name); var value; // Type: Base value = instance.getCellType(row, col, sheetArea); |
Javascript (Specification) | |
---|---|
function getCellType( row : number, col : number, sheetArea : SheetArea ) : Base; |
var cellType = new GC.Spread.Sheets.CellTypes.Button(); cellType.buttonBackColor("#FFFF00"); cellType.text("this is a button"); activeSheet.getCell(0, 2).cellType(cellType); var cellType = activeSheet.getCellType(0,2,GC.Spread.Sheets.SheetArea.viewport) if (cellType instanceof GC.Spread.Sheets.CellTypes.Button) { alert("This is a ButtonCellType"); }