Spread.Sheets Documentation
getBindingPath Method
GC.Spread.Sheets Namespace > Worksheet type : getBindingPath Method
The row index.
The column index.
Gets the binding path of cell-level binding from the specified cell in the specified sheet area.
Syntax
var instance = new GC.Spread.Sheets.Worksheet(name);
var value; // Type: string
value = instance.getBindingPath(row, col);
function getBindingPath( 
   row : number,
   col : number
) : string;

Parameters

row
The row index.
col
The column index.

Return Value

Returns the binding path of the cell for cell-level binding.
Example
This example uses the getBindingPath method.
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(activeSheet.getBindingPath(0, 0, GC.Spread.Sheets.SheetArea.viewport));
See Also

Reference

Worksheet type