The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
I have formula Sum(B1: B2), when a row is inserted between rows 1 and 2 this formula should refresh to sum(B1: B3) as in excel.
Thanks in advance
Regards
Vinay
ADAdministrator Syncfusion Team March 16, 2005 11:46 AM UTC
You are using a GridControl, correct?
If so, try setting this property.
GridFormulaEngine engine = ((GridFormulaCellModel)gridControl1.Model.CellModels["FormulaCell"]).Engine;
// the following flag allow formulas and name ranges to update references after inserting or deleting rows
engine.FormulaCopyFlags |= GridFormulaCopyFlags.InsDelRangeReferencesUpdated;