Spread.Sheets
CellBindingSource コンストラクタ
GC.Spread.Sheets.Bindings 名前空間 > CellBindingSource タイプ : CellBindingSource コンストラクタ
データソース。
セル連結のソースを表します。
シンタックス
// パラメータ
var source; //タイプ: Object

var instance = new GC.Spread.Sheets.Bindings.CellBindingSource(source);
function CellBindingSource( 
   source : Object
) : CellBindingSource;

パラメータ

source
データソース。
使用例
var person = {name: "Wang feng", age: 25, address: {postcode: "710075"}}; var source = new GC.Spread.Sheets.Bindings.CellBindingSource(person); activeSheet.setBindingPath(0, 0, "name"); activeSheet.setBindingPath(1, 1, "age"); activeSheet.setBindingPath(3, 3, "address.postcode"); activeSheet.setDataSource(source);
var person = {name: "Wang feng", age: 25, address: {postcode: "710075"}};
var source = new GC.Spread.Sheets.Bindings.CellBindingSource(person);
activeSheet.setBindingPath(0, 0, "name");
activeSheet.setBindingPath(1, 1, "age");
activeSheet.setBindingPath(3, 3, "address.postcode");
activeSheet.setDataSource(source);
関連トピック

参照

CellBindingSource タイプ