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
close icon

Formula stop updating after deserialization

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?

issue2.zip

2 Replies

AD Administrator Syncfusion Team February 16, 2006 11:10 AM UTC

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.


AD Administrator Syncfusion Team February 16, 2006 08:05 PM UTC

That worked. Thank you.

Loader.
Live Chat Icon For mobile
Up arrow icon