HI,
I have a grind which is bound to an object list to display all the rows:
<telerik1:RadGridView x:Name="GridParamAttr" ItemsSource="{Binding AttribList}"
Now I would really like to bind the IsVisible attribute of some the columns to an boolean item “IsUserAllowed”, meaning that if the user for this particular rowselection is allowed to see all columns they will all be visible, otherwise some columns will be hidden.
But as the GridView is already bound to the AttribList (contains all rows) I only seem to be able to make the content hidden for the particular column I want to hide. If I bind “IsUserAllowed” to the IsVisible attribute for the GridViewColumn it is just ignored.
How can I bind the “IsVisible” property for a GridViewColumn so that my column will automatically be visible or hidden depending on the true/false value of my “IsUserAllowed” attribute (fetched from a DB) - in addition to being bound to a datasource to fill in all rows?
Thanks,
ANne
