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
470
Hide xamgrid columns at runtime using mvvm pattern
posted

HI all,

I am using infragistics xamgrid with few predefined textcoumns. I have a button in the same screen when I click on the button I need to hide 2 columns in the xamgrid. I want to do it through it's viewmodel class

Can any one please provide me the resoution for my issue or any existing sample?

Thanks in advance.

Parents
  • 30945
    Verified Answer
    Offline posted

    Hello,

     

    Thank you for your post. I have been reading through it and I have created a sample application for you that demonstrates how you can hide/show columns in the XamGrid using MVVM pattern. To do that I have used a Command and properties of the ViewModel, bound to the Visibility of the columns.

     

    Please let me know if you need any further assistance on the matter.

     

    Sincerely,

    Krasimir

    Developer Support Engineer

    Infragistics

    www.infragistics.com/support

    ColumnHidingMVVM.zip
Reply Children