# C1.Win.FlexGrid.C1FlexGridBase.AllowFiltering

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_C1FlexGridBase_AllowFiltering_" data-uid="C1.Win.FlexGrid.C1FlexGridBase.AllowFiltering*">AllowFiltering Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_C1FlexGridBase_AllowFiltering_" data-uid="C1.Win.FlexGrid.C1FlexGridBase.AllowFiltering*"></a>
<h4 id="C1_Win_FlexGrid_C1FlexGridBase_AllowFiltering" data-uid="C1.Win.FlexGrid.C1FlexGridBase.AllowFiltering">AllowFiltering</h4>
<div class="markdown level1 summary"><p>Gets or sets whether the user is allowed to filter the data.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool AllowFiltering { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property AllowFiltering As Boolean</code></pre>
</div>
<h5 id="C1_Win_FlexGrid_C1FlexGridBase_AllowFiltering_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>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.</p>
<p>When a filter is applied, the grid hides rows that don't match the
filter by setting their <a class="xref" href="C1.Win.FlexGrid.RowCol.Visible.html#C1_Win_FlexGrid_RowCol_Visible">Visible</a> property to false. The
filter is not applied to the data source.</p>
<p>You may specify the type of filter to use for each individual column
by setting the columns <a class="xref" href="C1.Win.FlexGrid.Column.AllowFiltering.html#C1_Win_FlexGrid_Column_AllowFiltering">AllowFiltering</a> property.</p>
<p>You may also create custom filters by creating classes the implement
the <a class="xref" href="C1.Win.FlexGrid.IC1ColumnFilter.html">IC1ColumnFilter</a> interface and assigning instances of that
class to the column's <a class="xref" href="C1.Win.FlexGrid.Column.Filter.html#C1_Win_FlexGrid_Column_Filter">Filter</a> property.</p>
</div>
</div>
