SpreadJS 14
GC.Spread.Sheets.Bindings Namespace / CellBindingSource type
In This Topic
    CellBindingSource type
    In This Topic
    Represents a source for cell binding.
    Syntax
    var instance = new GC.Spread.Sheets.Bindings.CellBindingSource(source);
    function CellBindingSource;
    Example
    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);
    Inheritance Hierarchy

    Object
       GC.Spread.Sheets.Bindings.CellBindingSource

    Constructors
     NameDescription
    public ConstructorRepresents a source for cell binding.  
    Top
    Methods
     NameDescription
    public MethodGets the wrapped data source for cell binding.  
    public MethodGets the value of the source by the binding path.  
    public MethodSets the value of the source by the binding path.  
    Top
    See Also