Home > DeveloperSection > Forums > Devexpress Gridview Filter Control
Simons Hood
Simons Hood

Total Post:70

Posted on    September-03-2013 9:03 AM

 ASP.Net ASP.Net 

 1 Reply(s)
 4784  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?

Sumit Kesarwani

Total Post:378

Posted on    September-03-2013 9:13 AM

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">

Don't want to miss updates? Please click the below button!

Follow MindStick