Skip to content

Set Visibility to Filter Columns #55

@mdomas1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions