DEVEXPRESS GRIDVIEW FILTER CONTROL

Simons Hood

Total Post:70

Points:494
Posted by  Simons Hood
 5403  View(s)
Ratings:
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" />**
    </dx:ASPxGridView>

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

  1. Sumit Kesarwani

    Post:378

    Points:2694
    Re: Devexpress Gridview Filter Control

    Hi Samuel, 


    Please Use Following Settings For Filter To Be Operational :

         <Settings ShowHeaderFilterButton="true"
         EnableFilterControlPopupMenuScrolling="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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!