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
1310
How can I hide a column of a groupColumn with binding?
posted

Hello,

I have a group of columns, let's say:

         2012

______________

Jan | Feb | March |

 

I want to hide Feb, or march by binding it to my ViewModel Visibility property. I have noticed that when loading the grid if it is collapsed y doesn't show anything and if it is Visible it shows the column.

When I try to bind Visibility to my ViewModel, even if it changes my grid does not perform the action of collapsing or showing the column. Is any good practice for this?

Visibility="{Binding EmissionsVisibility,Mode=TwoWay}"