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 Range refresh

Thread ID:

Created:

Updated:

Platform:

Replies:

26179 Mar 16,2005 05:47 AM Mar 16,2005 06:46 AM Windows Forms 1
loading
Tags: GridControl
Vinay
Asked On March 16, 2005 05:47 AM

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

Administrator [Syncfusion]
Replied On March 16, 2005 06:46 AM

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;

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.

;