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

Grid is not updating formula references on row insert

Working with syncfusion grid and need the formulas to update their reference on row insert. Followed solution suggested on forum in threads 107111, 68861 and 94721. In fact all of them suggest the same solution that appears to be pretty straight forward but unfortunately not working for me. I must be miossing something or doing a mistake. 
Here is my sample code:
GridFormulaEngine engine = ((GridFormulaCellModel)grid.CellModels["FormulaCell"]).Engine;
engine.FormulaCopyFlags |= GridFormulaCopyFlags.InsDelRangeReferencesUpdated;
engine.FormulaCopyFlags |= GridFormulaCopyFlags.NamedRangeReferencesUpdated;
grid.BeginUpdate();
grid.Model.Rows.InsertRange(12, 1);
grid.EndUpdate();

Can somebody guide me where is the mistake?


1 Reply

AG Anish George Syncfusion Team January 22, 2014 03:56 AM UTC

Hi Andria,

 

Thank you for using Syncfusion products.

 

We regret to let you know that we are unable to reproduce the scenario in which you are experiencing this problem. It would be helpful for us if you could provide us the reproducing sample so that we can find the root cause, why the sample is not running as expected.

 

Please let us know if you need any further assistance.

 

Regards,

Anish


Loader.
Live Chat Icon For mobile
Up arrow icon