GcSpread.Sheets Namespace > Sheet type : hasFormula Method |
var instance = new GcSpread.Sheets.Sheet(name); var value; // Type: boolean value = instance.hasFormula(row, col);
true
if the cell contains a formula; otherwise, false
.activeSheet.setValue(0,0,1); activeSheet.setValue(0,1,2); activeSheet.setValue(0,2,10); activeSheet.getCell(1,1).formula("=SUM(A1:C1)"); var formula = activeSheet.hasFormula(1,1,GcSpread.Sheets.SheetArea.viewport); alert(formula);