Articles in this section
Category / Section

How to add member properties for the PivotGridControl

1 min read

Member properties cannot be added in Pivot Analysis Grid like in OLAP Grid since pivot grid does not support multi-level hierarchy. However we can load the data source manually as Member Properties in Pivot Grid.

C#

public class ViewModel
    {
        private object _customerInfoData;
 
        public object CustomerInfoData
        {
            get
            {
                _customerInfoData = _customerInfoData ?? CustomerInfo.MemberProperties();
                return _customerInfoData;
            }
            set { _customerInfoData = value; }
        }
 
    }

 

C:\Users\labuser\Dropbox\Screenshots\Screenshot 2014-06-09 15.31.53.png

Figure: Pivot Shows added member properties

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied