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

Reference

FormulaInformation type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.