in
Forums
Blogs
Files
Devexpress.Com
ClientCenter
Support Center
DevExpress Channel

This Blog

Syndication

The ASPx Blog - Mehul Harry's DevExpress Blog

ASPxGridView's Cool New Feature: Header Filter

A cool new feature was recently added to the ASPxGridView in the 2008 volume 1 release. 'Header Filter' is an alternative to the standard filter toolbar. Column headers can be displayed as filter drop-down buttons. By clicking a filter dropdown, the header filter lists the unique values within a column and enables you filter the column. Check out this live demo to test drive this feature:

image

By default, the filter buttons are hidden. To show the filter buttons, just set the Settings.ShowHeaderFilterButton property to true. You can also change text for the '(All)' item above with the SettingsText.HeaderFilterShowAll property.

In certain scenarios, the header filter can be more useful to you. Drop me a line below and let me know if you use this feature and/or which filter type you prefer to use.

Published May 22 2008, 03:52 PM by Mehul Harry (Developer Express)
Technorati tags: Features, ASP.NET, ASPxGridView

Comments

 

David Milan said:

This is a useful feature.  If the user could select a column from a Header Filter and then do intelliSense to jump down that list, it would be even better.  :)

May 23, 2008 5:39 AM
 

Pavel Romero said:

For our company it's a great feature. It would be good to allow multiple selection and value rank customized (for example a start date and end date).

May 27, 2008 12:44 PM
 

ASPxGridView's Cool New Feature: Header Filter said:

Pingback from  ASPxGridView's Cool New Feature: Header Filter

June 7, 2008 6:16 PM
 

Shivani said:

We are using Header filter in our project. I have seen on strange behaviour of the filter dropdowns. Sometimes it shows Scrollbar in the Header filter and sometime it does not. I tried to look for a setting which make the filter scrollable or non-scrollable but did not find any. Can you please help me with this. How to make the Hearder Filter Dropdwons scrollable.

Thanks

June 10, 2008 2:45 AM
 

Mehul Harry (Developer Express) said:

Hello Shivani,

The dropdowns in the header filter area are resizeable. So if the dropdown size is increased then the scrollbars will disappear and conversely, they'll reappear if the size is decreased. You can see it in the demo here: http://tinyurl.com/5tpt3p

June 10, 2008 3:12 AM
 

ANDREA ZIGLER said:

Hello Mehul,

I am not agree with you. I have see it oractically happening, I can send you sample for this. in the grid its not showing scroll bar until I move  the filter window. and if i resize the filter window litle then it start showing scroll bar and that size of the popup is replicated to the other columns.

i can not expain it in words i will send you a sample for this.

Thanks

June 19, 2008 8:27 AM
 

ANDREA ZIGLER said:

Hi Mehul,

I have reported this bug now in the devx support and attached a sample where you can reproduce this issue.

please check this ticket "B95360"

thanks

June 19, 2008 8:58 AM
 

Mehul Harry (Developer Express) said:

Hi Andrea,

I spoke with the support team and they're looking into the issue. I believe they did some unusual behavior. I recommend using the support ticket for tracking  and communication. Thanks.

June 20, 2008 2:42 PM
 

John Bierman said:

I was wondering if there is the ability to multi select in the Header filter drop down.  So far I have not been able to find anything on that.  

July 16, 2008 3:45 PM
 

Mehul Harry (Developer Express) said:

Hi John,

Sorry but this feature isn't available yet. Track the suggestion below to upvote it and get notified when it gets implemented: www.devexpress.com/.../S19281.aspx

July 21, 2008 6:52 PM
 

neil said:

Hello,

I'm looking for a solution to autofilter for datetime "less or equal" or "greater than" the given filter value. This seems not to work, or do I miss something? Using AxGridview, asp.net, 3.5, german.

BTW: How to localize the grid?

August 1, 2008 1:05 PM
 

Mehul Harry (Developer Express) said:

Hi Neil,

For the filter, we're planning to implement a new control - ASPxFilterControl, which will allow the end-user to specify a filter condition of any complexity. You can track this suggestion here:

www.devexpress.com/.../S18365.aspx

There is a sample here as well:

http://www.devexpress.com/Support/Center/p/Q30697.aspx

For the localization, this information is available in our documentation at:

www.devexpress.com/Help

August 4, 2008 7:59 PM
 

Rick said:

What version of the ASPxGridView is the Header Filter available?  I have version 7.3.9.0 and I cannot find how to make this work.  I have set AllowAutoFilter to true for the columns that I want to filter on, but I cannot see how to get the dropdowns.

Thanks for you help.

October 20, 2008 3:34 PM
 

Mehul Harry (Developer Express) said:

Rick, The header filter feature was introduced in the 2008 volume 1 (v8.1.x). I recommend upgrading to the latest version.

October 20, 2008 3:53 PM

Leave a Comment

(required)  
(optional)
(required)  
Verification code: Required
   
Add
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED