@model IEnumerable<FlexGridData.Sale>

<h1>
    Custom Filter Types
</h1>
<p>
    Use the <b>defaultFilterType</b> property of FlexGridFilter to
    determine whether the filter should be based on conditions,
    values, or both.
</p>
<p>
    Use the <b>showFilterButtons</b> property to set whether
    the filter editor should include buttons for sorting the
    columns.
</p>
@(Html.C1().FlexGrid().Id("theGrid").Height(250)
    .AllowSorting(false)
    .Bind(b => b.Bind(Model).DisableServerRead(true))
    .Filterable(f=>f.Id("theGridFilter"))
)