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.

Copy/Paste Formula

Thread ID:

Created:

Updated:

Platform:

Replies:

13598 May 3,2004 10:14 PM May 4,2004 12:23 AM Windows Forms 1
loading
Tags: GridControl
JianLi
Asked On May 3, 2004 10:14 PM

We have a grid with formulas. Clipboard Copy-Paste operations work well, but we want to modify formula before pasting it just like Excel does that. E.g. A1 cell contains "=A2*2" formula. After copying it to clipboard and pasting into B1 cell we want to have "=B2*2" formula in B1 cell. For that we should know an address of cell - source of data in addition to the cell contents. This concerns multiselection clipboard operations. What features of Grid we can use for that?

Administrator [Syncfusion]
Replied On May 4, 2004 12:23 AM

This should be supported in the 2.0 code base by setting GridFormulaEngine engine = ((GridFormulaCellModel)this.gridControl1.CellModels["FormulaCell"]).Engine; engine.FormulaCopyFlags |= GridFormulaCopyFlags.ClipBoardReferencesAdjusted;

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.

;