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 stop updating after deserialization

Thread ID:





40881 Feb 15,2006 01:37 PM Feb 16,2006 03:05 PM Windows Forms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On February 15, 2006 01:37 PM

I have a grid with some formulas. If I serialize the grid model and then deserialize it, formula cells do not seem to update when the value of their dependent cell is changed. Steps to reproduce issue from attached sample: -start sample -press save -press open -change value of B1 and notice that the value in A1 doesn''t recalculate. How can I fix this?


Administrator [Syncfusion]
Replied On February 16, 2006 06:10 AM

Hi Alex, After deserializing, try reactivating the formula cells by recalculating. Below is a code snippet. Dim engine As GridFormulaEngine engine = CType(GridControl1.CellModels("FormulaCell"), GridFormulaCellModel).Engine engine.RecalculateRange(GridRangeInfo.Table, True) Regards, Calvin.

Administrator [Syncfusion]
Replied On February 16, 2006 03:05 PM

That worked. Thank you.


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.