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.
Unfortunately, activation email could not send to your email. Please try again.

Formula Cell -- GridDataboundGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

26003 Mar 11,2005 07:59 AM Mar 11,2005 08:45 AM Windows Forms 4
loading
Tags: GridControl
Vinay
Asked On March 11, 2005 07:59 AM

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 3.0.1.0. ? Regards Vinay

Administrator [Syncfusion]
Replied On March 11, 2005 08:01 AM

Yes.

Administrator [Syncfusion]
Replied On 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.

Vinay
Replied On March 11, 2005 08:12 AM

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 08:45 AM

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

CONFIRMATION

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.

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.

;