ComponentOne FlexPivot for WinForms
C1.Win.FlexPivot.4.8 Assembly / C1.Win.FlexPivot Namespace / C1FlexPivotGrid Class / AllowFiltering Property

In This Topic
    AllowFiltering Property (C1FlexPivotGrid)
    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 C1.Win.C1FlexGrid.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 C1.Win.C1FlexGrid.Column.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