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
820
How to set caption for multiple measures in asp igPivotGrid
posted

Hi

In documentation i founded, that we can set caption for multiple measures in igPivotGrid

http://help.infragistics.com/Help/Doc/jQuery/2013.1/CLR4.0/html/igOlapFlatDataSource_Defining_Metadata.html

But when i tried to set it, nothing happens. Names works correct, but caption not. Can you suggest something?

Here a piece of code:

metadata: {
   cube: {
      name: "MyCube",
      caption: "MyCube",
      measuresDimension: { name: "Currencies", caption: "Currencies", measures: [{ caption: "sdfg", name: "Measure", aggregator:                 $.ig.OlapUtilities.prototype.sumAggregator('Measure')},{ caption: "dfh", name: "Measure2", aggregator: $.ig.OlapUtilities.prototype.sumAggregator('Measure2')}] },

...

measures: "[Currencies].[Measure2],[Currencies].[Measure]"

  • 49378
    posted

    Hello,

    I have tested this scenario using the latest SR for IgniteUI and captions appear to be applied as required (please note that captions are reflected only in the metadata tree of the igPivotDataSelector). Attached is my test sample for your reference. Please do not hesitate to modify it in order to illustrate the behavior in question.

    Do not hesitate to contact me with any updates or questions.

     

    binding-to-flat-data-source (3).zip