FlexGrid for WinForms | ComponentOne
C1.Win.C1FlexGrid.Classic Namespace / C1FlexGridClassic Class / AllowFiltering Property

In This Topic
    AllowFiltering Property (C1FlexGridClassic)
    In This Topic
    Gets or sets whether the user is allowed to filter the data.
    Syntax
    'Declaration
     
    
    Public Property AllowFiltering As Boolean
    public bool AllowFiltering {get; set;}
    Remarks

    When this property is set to true, the grid displays filter icons on the column headers. Users may click the icons to define filters to be applied to the data.

    When a filter is applied, the grid hides rows that don't match the filter by setting their Visible property to false. The filter is not applied to the data source.

    You may specify the type of filter to use for each individual column by setting the columns AllowFiltering property.

    You may also create custom filters by creating classes the implement the C1.Win.C1FlexGrid.IC1ColumnFilter interface and assigning instances of that class to the column's C1.Win.C1FlexGrid.Column.Filter property.

    See Also