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
775
xamdatagrid hide one column from code
posted

I have a xamdatagrid and it has 30 columns . i need to hide one column based on certain conditions on certain type. we are using mvvm architecture

How can i achieve it

Tryed this way :

<igDP:Field Name="abc" Label="Scrub Errors Messages" Width="150" Visibility="{Binding abcVisibility}"
and i am binding this value from command through a viewmodel .
ViewModel.abcVisibility = Visibility.Collapsed;
Its not working fine ..any other way or sample to solve this