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

In This Topic
    AllowFiltering Property (C1FlexGrid)
    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 RowCol.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 Column.AllowFiltering property.

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

    See Also