Spread.Sheets Documentation
getValue Method
GC.Spread.Sheets.Bindings Namespace > CellBindingSource type : getValue Method
The binding path.
Gets the value of the source by the binding path.
Syntax
var instance = new GC.Spread.Sheets.Bindings.CellBindingSource(source);
var value; // Type: Object
value = instance.getValue(path);
function getValue( 
   path : string
) : Object;

Parameters

path
The binding path.

Return Value

Returns the value of the binding source at the specified path.
Example
This example gets the value.
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.getValue("name"));
See Also

Reference

CellBindingSource type