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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

NamedRange

Thread ID:

Created:

Updated:

Platform:

Replies:

21998 Dec 1,2004 02:15 AM UTC Mar 22,2018 05:27 AM UTC WinForms 3
loading
Tags: GridControl
Tito Toro
Asked On December 1, 2004 02:15 AM UTC

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

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

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 03:45 PM UTC

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 05:27 AM UTC

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.

Warning Icon 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.Close Icon

;