I am binding the GridDataboundGrid to an arraylist with one columns celltype set to "FormulaCell". I would like to store the computed value of the cell in one of the public properties of the object contained in the arraylist.
I just downloaded one of the samples from ur KB:Q10439 - Info: How do I have formula cells in a GirdDataBoundGrid?.
There were two events (GridQueryCellInfo, GridSaveCellInfo) used to retrieve & save the formula tag. Are these two events required in version 126.96.36.199. ?
ADAdministrator Syncfusion Team March 11, 2005 08:01 AM
ADAdministrator Syncfusion Team March 11, 2005 08:04 AM
Yes. Otherwise, your formulas will be recomputed form scratch everytime the cell is painted or used in any manner. This normally slows things down, and can cause some flickering. This will be avoided if you use QueryCellInfo and SaveCellInfo to provide and cache the formula tags.
VIVinayMarch 11, 2005 08:12 AM
Thanks for help.
Can i get the computed value of the cell in the GridSaveCellInfo event.
ADAdministrator Syncfusion Team March 11, 2005 08:45 AM
e.Style.FormulaTag.Text property should show the computed value in SaveCellInfo.