Skip to content

Set Visibility to Filter Columns #55

Description

@mdomas1

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions