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
138
Dynamic column display in xamDataGris
posted

I have a xamDataGrid bound to a custom data source with 50 data attributes. Simply put:

  • One of these data attributes defines which if the 50 fields are valid for the current record display.
  • This attribute can contain one of several values.
  • The records I will display will all be of the same attribute value
  • The custom class contains a "bool" indicating which which of the values is active
  • I do not want to do the displaying in code (if at all possible)

Example: Selection Attribute = 1; display columns A, B, and C. Selection Attribute = 2; display columns A, D, and E. Selection Attribute = 3; display columns F, G, and H.

Has anyone solved a similar problem?

Graham