Hi,
On previous versions when you used a FlatDataSource control with the OlapDataSelector the displayed name for the FlatDataSource was taken from the Name of the Type passed as argument when creating the FlatDataSource, for example in the following line: ds = New FlatDataSource(itemSource, itemSource(0).GetType, settings) the name displayed for the FlatDataSource in the OlapDataSelector would be the Name of Type of itemSource(0).
As of Infragistics 15.2 the name displayed in the OlapDataSelector is always FlatDataSource and I haven't been able to change it to something else. Is there a way to achieve the previous result?
Regards,
Perfect!!!!
Now that you pointed to the correct properties I realize I was looking in the wrong place for the properties, thanks a lot.
Regards
Hello Edgar,
Thank you for posting in our forum.
You may set the root node text via RootNodeText property of OlapDataSelector. You can use code like this:
this.olapDataSelector1.RootNodeText = "Data Selector Root Node Custom Text";
Please note, you can also change the text of measures by setting MeasuresNodeText like this:
this.olapDataSelector1.MeasuresNodeText = "Data Selector Measures' Custom Text";
Both these properties was available since introduction of UltraPivotGrid back in version 14.1 of Infragistics Controls. In the attached sample project I have set both these properties. Please check my sample and let me know if you need any additional information.