Enable visibility of a data grid column based on an attribute field

0
I would like to have the ability to make a data grid column hidden or visible based on an attribute. At the moment, I need to have 2 or more data grids depending on my column requirements.  The column attribute doesn’t have that functionality. Is there an easy way of hiding a column at run time? 
asked
1 answers
2

The simple way is to create two (or more) datagrids and show the correct one based on the value of that attribute.

Regards,

Ronald

answered