SpreadJS 13
GC.Spread.Sheets Namespace / CellRange type / bindingPath Method
The binding path for cell binding.
In This Topic
    bindingPath Method
    In This Topic
    Gets or sets the binding path for cell binding.
    Syntax
    var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea);
    var value; // Type: any
    value = instance.bindingPath(path);
    function bindingPath( 
       path : string
    ) : any;

    Parameters

    path
    The binding path for cell binding.

    Return Value

    If no value is set, returns the binding path for cell binding; otherwise, returns the worksheet.
    Example
    This example uses the bindingPath method.
    var test = {name: "John"};
    activeSheet.getCell(0,0).bindingPath( "name");
    activeSheet.setDataSource(new GC.Spread.Sheets.Bindings.CellBindingSource(test));
    Remarks
    The default value is null.
    See Also

    Reference

    CellRange type