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.

NamedRange

Thread ID:

Created:

Updated:

Platform:

Replies:

21998 Nov 30,2004 09:15 PM Mar 22,2018 01:27 AM Windows Forms 3
loading
Tags: GridControl
Tito Toro
Asked On November 30, 2004 09:15 PM

How do I set the value programtically for a named range? Thanks

Administrator [Syncfusion]
Replied On December 1, 2004 06:29 AM

If it is a new namedrange that has not been registered yet, you would use code like: GridFormulaEngine engine = ((GridFormulaCellModel)gridCashFlow.Model.CellModels["FormulaCell"]).Engine; //name is the NamedRange name //val is the NamedRange value engine.AddNamedRange(name, val); If the name is already present in the NamedRanges, you can change its value using engine.NamedRanges[name] = val;

Saravanan
Replied On March 21, 2018 11:45 AM

If it is a new namedrange that has not been registered yet, you would use code like: GridFormulaEngine engine = ((GridFormulaCellModel)gridCashFlow.Model.CellModels["FormulaCell"]).Engine; //name is the NamedRange name //val is the NamedRange value engine.AddNamedRange(name, val); If the name is already present in the NamedRanges, you can change its value using engine.NamedRanges[name] = val;

Test

Sindhu Nagarajan [Syncfusion]
Replied On March 22, 2018 01:27 AM

Hi Saravanan, 
  
Thanks for the update. 
  
We will wait till we hear from you. Please let us know if you need further assistance. 
  
Regards,  
Sindhu 


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.

;