Hi i am designing a control in which i am using XAMGrid. i am binding this grid with a observable collection. now i want to hide some specific columns from this grid. how do i do that. Like i need to hide columns whose name starts with "Old"
i need to do it in code behind as i am not defining columns in xaml. these colums may change depending on the data in the OC.
Hi,
you could add the AutoGenerateField attribute to the properties of your data object that you don't want to have columns for:
[Display(AutoGenerateField=false)]
public string OldStringProperty {get;set;}
Hope this helps
attribute doesnt seem to work