Hello All,
I want to have the visibility of the Filter off on the first two rows of my datagrid, what would be the proper code to accomplish this?
I've tried:
dataGrid1.ItemsSource = new ListCollectionView(datat.DefaultView);
dataGrid1.Columns[0].SetIsFilterVisible = False;
dataGrid1.Columns[1].SetIsFilterVisible = False;
And
dataGrid1.Columns[0].IsFilterVisible = False;
And
dataGrid1.Columns[0].SetIsFilterVisible = IsFilterVisible.False;
Plz help
Hello All,
I want to have the visibility of the Filter off on the first two rows of my datagrid, what would be the proper code to accomplish this?
I've tried:
dataGrid1.ItemsSource = new ListCollectionView(datat.DefaultView);dataGrid1.Columns[0].SetIsFilterVisible = False;dataGrid1.Columns[1].SetIsFilterVisible = False;And
dataGrid1.Columns[0].IsFilterVisible = False;And
dataGrid1.Columns[0].SetIsFilterVisible = IsFilterVisible.False;Plz help