GC.Spread.Sheets Namespace > Worksheet type : getFormulaInformation Method |
var instance = new GC.Spread.Sheets.Worksheet(name); var value; // Type: object value = instance.getFormulaInformation(row, col);
activeSheet.setValue(0,0,1); activeSheet.setValue(0,1,2); activeSheet.setValue(0,2,10); activeSheet.getCell(1,1).formula("=SUM(A1:C1)"); var test = activeSheet.getFormulaInformation(1,1, GC.Spread.Sheets.SheetArea.viewport); alert(test.formula);
activeSheet.setValue(0, 2, 3); activeSheet.setFormula(1,1,"C1+D1",GC.Spread.Sheets.SheetArea.viewport); var information = activeSheet.getFormulaInformation(1, 1); alert(information.formula);
activeSheet.setValue(0, 2, 3); activeSheet.setFormula(1,1,"C1+D1",GC.Spread.Sheets.SheetArea.viewport); var information = activeSheet.getFormulaInformation(1, 1); alert(information.isArrayFormula);