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
130
XamPivotDataSelector - customizing
posted

Hi

1) Is it possible to change "measure" label? (see screenshot below)

2) Is it possible to hide some of dimensions (for example "City")?

  • 8831
    Verified Answer
    posted

    Hello,

    I suppose this question is about FlatDataSource. You can set DisplayAttribute for the properties of your data class:

     

            [DisplayAttribute(Name = "MyFriendlyName", AutoGenerateField = false)]

            public string City

            {

                get;

                set;

            }

     

    Please note that with current implementation setting AutoGenerateField = false  will hide the item from both measures and dimensions.

     

    Regards.

    Plamen.