Devexpress Gridview Filter Control

Total Post:70


 6122  View(s)
Rate this:

I have a ASPxGridView component that is filled from a SQL query I wanted to apply a filter on my ASPX Gridview so I wrote:

<dx:ASPxGridView runat="server" ID="gvExecReq" Visible="false" AutoGenerateColumns="true"
        OnPageIndexChanged="gvExecReq_PageIndexChanged" OnBeforeColumnSortingGrouping="gvExecReq_BeforeColumnSortingGrouping">
        **<Settings ShowFilterRow="True" />
        <Settings ShowFilterBar="Visible" ShowHeaderFilterButton="True" />**

the filter is well established, but it is not functional What do I need to add more?

  1. Re: Devexpress Gridview Filter Control

    Hi Samuel, 

    Please Use Following Settings For Filter To Be Operational :

         <Settings ShowHeaderFilterButton="true"
         ShowFilterBar="Visible" ShowFilterRow="True" ShowFilterRowMenu="True" />

    Also In The Columns of The Grid You Can Control The Condition of Filtering i.e. Contains, Equal, Does Not Contain etc.

      <dx:GridViewDataColumn  Settings-AutoFilterCondition="Contains" Settings-FilterMode="DisplayText">

      Modified On Mar-31-2018 12:33:27 AM


Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.