SpreadJS製品ヘルプ
value メソッド
GC.Spread.Sheets 名前空間 > CellRange タイプ : value メソッド
セル値。
セルの書式なしの値を取得または設定します。
シンタックス
var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea);
var returnValue; // Type: any
returnValue = instance.value(value);
function value( 
   (optional) value : Object
) : any;

パラメータ

value
セル値。

戻り値の型

値が設定されていない場合は、セル値を返します。値が設定されている場合は、セルを返します。
使用例
This example returns information about the specified cell.
activeSheet.getCell(-1, 3).visible(false);
activeSheet.getCell(0,3).value("Test");
activeSheet.getCell(-1, 1).width(100);
This example returns the value in the specified cell in the active sheet.
activeSheet.getCell(1,1).value(10);
This example returns information about the specified cell.
activeSheet.getCell(-1, 3).visible(false);
activeSheet.getCell(0,3).value("Test");
activeSheet.getCell(-1, 1).width(100);
This example returns the value in the specified cell in the active sheet.
activeSheet.getCell(1,1).value(10);
解説
デフォルト値はnullです。
関連トピック

参照

CellRange タイプ