GcSpread.Sheets Namespace > CellBindingSource class : CellBindingSource Constructor |
var instance = new GcSpread.Sheets.CellBindingSource(source);
function CellBindingSource( source : Object ) : CellBindingSource;
var person = {name: "Wang feng", age: 25, address: {postcode: "710075"}}; var source = new GcSpread.Sheets.CellBindingSource(person); activeSheet.setBindingPath(0, 0, "name"); activeSheet.setBindingPath(1, 1, "age"); activeSheet.setBindingPath(3, 3, "address.postcode"); activeSheet.setDataSource(source);