ASPxVerticalGrid.HeaderFilterFillItems Event
Allows you to add custom header filter items to default items.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public event ASPxVerticalGridHeaderFilterEventHandler HeaderFilterFillItems
#Event Data
The HeaderFilterFillItems event's data class is ASPxVerticalGridHeaderFilterEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Row | Gets the data row currently being filtered. |
Values |
Gets a collection that contains the header filer values.
Inherited from ASPx |
The event data class exposes the following methods:
Method | Description |
---|---|
Add |
Adds the ‘All’ item to the header filter.
Inherited from ASPx |
Add |
Creates and adds the “Blanks” filter value to the header filter values.
Inherited from ASPx |
Add |
Creates and adds the “(Non blanks)” filter value to the header filter values.
Inherited from ASPx |
Add |
Adds a new filter item with the specified filter criteria to the header filter.
Inherited from ASPx |
Add |
Adds a new filter item to the header filter.
Inherited from ASPx |
Create |
Creates and returns the (Blanks) filter item used to filter a column by blank values.
Inherited from ASPx |
Create |
Creates and returns the (Non blanks) filter item used to filter a column by blank values.
Inherited from ASPx |
#Remarks
The header filter allows users to filter row data. When a user clicks on the filter button, the grid displays a filter dropdown. The HeaderFilterFillItems
event fires after the grid creates default filter items and before the filter dropdown is shown. The event allows you to customize the default filter item set.
Custom filter items can filter data by the current row only.
Note
If the ASPxtrue
, the Header
event does not fire.