We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Formula Cell -- GridDataboundGrid

Thread ID:





26003 Mar 11,2005 12:59 PM UTC Mar 11,2005 01:45 PM UTC WinForms 4
Tags: GridControl
Asked On March 11, 2005 12:59 PM UTC

Hi Clay, 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 ? Regards Vinay

Administrator [Syncfusion]
Replied On March 11, 2005 01:01 PM UTC


Administrator [Syncfusion]
Replied On March 11, 2005 01:04 PM UTC

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.

Replied On March 11, 2005 01:12 PM UTC

Hi Clay, Thanks for help. Can i get the computed value of the cell in the GridSaveCellInfo event. Regards, Vinay

Administrator [Syncfusion]
Replied On March 11, 2005 01:45 PM UTC

e.Style.FormulaTag.Text property should show the computed value in SaveCellInfo.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon