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.
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo, and Stingray, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.