Hi,
I need to show the fields name in my fields window with an alias. Is it possible?
My pivotgrid is populated with an object like this:
I need to show the fields name in my fields window with an alias. Is it possible?
My pivotgrid is populated with an object like this:
public class ReportModelObject { private string m_CompanyCode; private string m_CompanyDescription; private string m_CountryCode; private string m_CountryDescription; private string m_SiteCode; private string m_SiteDescription; public ReportModelObject() { } public string CompanyCode { get { return m_CompanyCode; } set { m_CompanyCode = value; NotifyPropertyChanged("CompanyCode"); } } public string CompanyDescription { get { return m_CompanyDescription; } set { m_CompanyDescription = value; NotifyPropertyChanged("CompanyDescription"); } } public string CountryCode { get { return m_CountryCode; } set { m_CountryCode = value; NotifyPropertyChanged("CountryCode"); } } public string CountryDescription { get { return m_CountryDescription; } set { m_CountryDescription = value; NotifyPropertyChanged("CountryDescription"); } } public string SiteCode { get { return m_SiteCode; } set { m_SiteCode = value; NotifyPropertyChanged("SiteCode"); } } public string SiteDescription { get { return m_SiteDescription; } set { m_SiteDescription = value; NotifyPropertyChanged("SiteDescription"); } } #region INotifyPropertyChanged Implementation [field: NonSerialized] public event PropertyChangedEventHandler PropertyChanged; protected void NotifyPropertyChanged(string name) { if (PropertyChanged != null) PropertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(name)); } #endregion }