var instance = new GC.Spread.Sheets.Bindings.CellBindingSource(source); var value; // Type: Object value = instance.getSource();
function getSource() : Object;
戻り値の型
元のデータソース。
var instance = new GC.Spread.Sheets.Bindings.CellBindingSource(source); var value; // Type: Object value = instance.getSource();
function getSource() : Object;
// 次のサンプルコードは、名前を取得します。 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); alert(source.getSource().name);
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); alert(source.getSource().name);