Hi,
I am trying to hide a few fields which I do not want to show in the field chooser or in the grid but required to be binded to the grid.
I tried doing these in the column chooser opening event. But none of them worked.
e.FieldChooser.CurrentFields[0].Field.Visibility = Visibility.Collapsed;
e.FieldChooser.CurrentFields[0].IsVisible = false;
Can anyone provide me a solution to that I am using the Infragistics WPF XamDataGrid v9.2.
Thanks
Hello,
You can create FieldChooserFilter and set the Filter property and add it in the FieldFilters collection. You can also set the current field group. You can do that in the FieldChooserOpening event for example.
Hi Alex,
Thanks for the reply. Can you you help me with some sample code to do the same. I am not able to add FieldChooserFilter to FieldFilter collection.