Objective Grid : PART I User’s Guide : Chapter 5 Using Objective Grid : Formula Support
Formula Support
Formula support will be enabled if you call the function EnableFormulaEngine() at the beginning of your OnInitialUpdate() routine or before you call CGXGridWnd::Initialize(). The CGXGridCore::EnableFormulaEngine() call will force the grid to replace the default CGXData object with a CGXFormulaSheet object. The CGXFormulaSheet object establishes a connection to the formula engine.
Furthermore, you might want to enable all the built-in worksheet functions that come with the formula engine. To do this, call GXEnableWorksheetFunctions() from your InitInstance() method.
See Chapter 14, “The Formula Engine,” for detailed information about the Objective Grid formula engine.