Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
Add custom category
posted

Hi,

 

I have the code:

foreach(Field field in obj.Fields)

{

Infragistics.Calculations.NamedReference reference = new Infragistics.Calculations.NamedReference() { ReferenceId = field.Name, Category = "Data Fields" };

ControlCalculationSettings calcSettings = new ControlCalculationSettings();

calcSettings.ReferenceId = field.Name;

calcSettings.TreatAsType =typeof(double);

_calculationManager.NamedReferences.Add(reference);

}

The code adds new ReferenceId under the Name Reference Category.

I was wondering if I can create my own category called "Custom" instead of Named References or Controls and add everything under that category?

 

Thanks,

 

Parents Reply Children
No Data