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
45
XamPivotGrid row/column header captions
posted

Hi, I've been recently playing with the online samples and have a couple of questions relating to the row/column headers. From the XAML for flatdatasource, even though display names are defined for the field (dimensionMetadata), for example, "Units sold" for NumberOfUnits, when drag/dropping the field from the Dataselector to any area within the datacollector window or the pivot grid window, the SourcePropertyName "NumberOfUnits" is displayed instead. Is it by design? If yes, how can we customize it so that displaynames are displayed?

<igOlap:CubeMetadata DataTypeFullName="Infragistics.Web.SampleBrowser.SilverlightDV.Samples.PivotGrid.Sale"
                     DisplayName="Sales Data">
     <igOlap:DimensionMetadata SourcePropertyName="NumberOfUnits"
                               DisplayName="Units sold"/>
      <igOlap:DimensionMetadata SourcePropertyName="AmountOfSale"
                                DisplayName="Amount of sale"
                                DisplayFormat="{}{0:C2}"/>
</igOlap:CubeMetadata>

http://samples.infragistics.com/sldv/RunSamples.aspx?cn=pivot-grid#/pivot-grid/flatdatasource-xaml

Thanks,