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
75
Load data from a IEnumerable <IDictionary <string,object>> in FlatDataSource
posted

There is the possibility to upload data from a IEnumerable <IDictionary <string,object>> in FlatDataSource?

Or you can hide the properties of a class from being shown in PivotGrid?

  • 8831
    posted

    Hello Alex,

    You can use IEnumerable<IDictionary<string,object>> but I guess that will put you in a much complicated scenario than exposing your data using a simple business object type. If that is the way you prefer to go with I can try to prepare a small sample for you.

    You can hide a property of class as two different approaches can be used:

    1. Applying [DisplayAttribute(AutoGenerateField = false)] to your property.
    2. Setting DimensionMetadata.AutoGenerateField to false for specific property. You can look at this sample about how you can set such metadata for a property.

    Regards.
    Plamen.