# C1.Web.Mvc.FlexGridFilter-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_FlexGridFilter_1" data-uid="C1.Web.Mvc.FlexGridFilter`1" class="text-break">FlexGridFilter&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Define an extender used to set the flexgrid filter.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Web.Mvc.Component.html">Component</a></div>
    <div class="level2"><span class="xref">Extender</span></div>
    <div class="level3"><span class="xref">FlexGridFilter&lt;T&gt;</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ihtmlstring">IHtmlString</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.Web.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_FlexGridFilter_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FlexGridFilter&lt;T&gt; : Extender, IHtmlString</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class FlexGridFilter(Of T)
    Inherits Extender
    Implements IHtmlString</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_FlexGridFilter_1__ctor_C1_Web_Mvc_FlexGridBase__0__" data-uid="C1.Web.Mvc.FlexGridFilter`1.#ctor(C1.Web.Mvc.FlexGridBase{`0})">
          <a class="xref" href="C1.Web.Mvc.FlexGridFilter-1.-ctor.html#C1_Web_Mvc_FlexGridFilter_1__ctor_C1_Web_Mvc_FlexGridBase__0__">FlexGridFilter(FlexGridBase&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.FlexGridFilter-1.html">FlexGridFilter&lt;T&gt;</a> instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_FlexGridFilter_1_ColumnFilters" data-uid="C1.Web.Mvc.FlexGridFilter`1.ColumnFilters">
          <a class="xref" href="C1.Web.Mvc.FlexGridFilter-1.ColumnFilters.html#C1_Web_Mvc_FlexGridFilter_1_ColumnFilters">ColumnFilters</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a list of the column filters.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_FlexGridFilter_1_DefaultFilterMode" data-uid="C1.Web.Mvc.FlexGridFilter`1.DefaultFilterMode">
          <a class="xref" href="C1.Web.Mvc.FlexGridFilter-1.DefaultFilterMode.html#C1_Web_Mvc_FlexGridFilter_1_DefaultFilterMode">DefaultFilterMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the default filter mode to use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_FlexGridFilter_1_DefaultFilterType" data-uid="C1.Web.Mvc.FlexGridFilter`1.DefaultFilterType">
          <a class="xref" href="C1.Web.Mvc.FlexGridFilter-1.DefaultFilterType.html#C1_Web_Mvc_FlexGridFilter_1_DefaultFilterType">DefaultFilterType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the default filter type to use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_FlexGridFilter_1_ExclusiveValueSearch" data-uid="C1.Web.Mvc.FlexGridFilter`1.ExclusiveValueSearch">
          <a class="xref" href="C1.Web.Mvc.FlexGridFilter-1.ExclusiveValueSearch.html#C1_Web_Mvc_FlexGridFilter_1_ExclusiveValueSearch">ExclusiveValueSearch</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the filter should include only values selected by the @see:ValueFilter.filterText property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_FlexGridFilter_1_OnClientFilterApplied" data-uid="C1.Web.Mvc.FlexGridFilter`1.OnClientFilterApplied">
          <a class="xref" href="C1.Web.Mvc.FlexGridFilter-1.OnClientFilterApplied.html#C1_Web_Mvc_FlexGridFilter_1_OnClientFilterApplied">OnClientFilterApplied</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs after the filter is applied.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_FlexGridFilter_1_OnClientFilterChanged" data-uid="C1.Web.Mvc.FlexGridFilter`1.OnClientFilterChanged">
          <a class="xref" href="C1.Web.Mvc.FlexGridFilter-1.OnClientFilterChanged.html#C1_Web_Mvc_FlexGridFilter_1_OnClientFilterChanged">OnClientFilterChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs after a column filter has been edited by the user.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_FlexGridFilter_1_OnClientFilterChanging" data-uid="C1.Web.Mvc.FlexGridFilter`1.OnClientFilterChanging">
          <a class="xref" href="C1.Web.Mvc.FlexGridFilter-1.OnClientFilterChanging.html#C1_Web_Mvc_FlexGridFilter_1_OnClientFilterChanging">OnClientFilterChanging</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a column filter is about to be edited by the user.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_FlexGridFilter_1_ShowFilterIcons" data-uid="C1.Web.Mvc.FlexGridFilter`1.ShowFilterIcons">
          <a class="xref" href="C1.Web.Mvc.FlexGridFilter-1.ShowFilterIcons.html#C1_Web_Mvc_FlexGridFilter_1_ShowFilterIcons">ShowFilterIcons</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the FlexGridFilter should add filter editing buttons to the grid's column headers.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_FlexGridFilter_1_ShowIncludeSelection" data-uid="C1.Web.Mvc.FlexGridFilter`1.ShowIncludeSelection">
          <a class="xref" href="C1.Web.Mvc.FlexGridFilter-1.ShowIncludeSelection.html#C1_Web_Mvc_FlexGridFilter_1_ShowIncludeSelection">ShowIncludeSelection</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether the value filter should display excel like 'Add current selection to filter' option.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_FlexGridFilter_1_ShowSortButtons" data-uid="C1.Web.Mvc.FlexGridFilter`1.ShowSortButtons">
          <a class="xref" href="C1.Web.Mvc.FlexGridFilter-1.ShowSortButtons.html#C1_Web_Mvc_FlexGridFilter_1_ShowSortButtons">ShowSortButtons</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the filter editor should include sort buttons.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="C1.Web.Mvc.Fluent.IHtmlStringExtension.ToTemplate.html#C1_Web_Mvc_Fluent_IHtmlStringExtension_ToTemplate_System_Web_IHtmlString_">IHtmlStringExtension.ToTemplate(IHtmlString)</a>
  </div>

</div>
