SpreadJS Documentation
formula Field
Indicates the formula string for the cell.
Syntax
var instance = new GcSpread.Sheets.FormulaInformation(name);
var value; // Type: string
value = instance.formula;
var formula : string;
Example
This example gets the formula.
activeSheet.setValue(0, 2, 3);
activeSheet.setFormula(1,1,"C1+D1",GcSpread.Sheets.SheetArea.viewport);
var information = activeSheet.getFormulaInfomation(1, 1);
alert(information.formula);
See Also

Reference

FormulaInformation type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.