Tab
A newer version of this page is available. Switch to the current version.

ASPxVerticalGrid.HeaderFilterFillItems Event

Enables you to add custom filter items which filter data by the current row to ones displayed within a header filter.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public event ASPxVerticalGridHeaderFilterEventHandler HeaderFilterFillItems
Public Event HeaderFilterFillItems As ASPxVerticalGridHeaderFilterEventHandler

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 ASPxGridHeaderFilterEventArgs.

The event data class exposes the following methods:

Method Description
AddShowAll() Adds the 'All' item to the header filter. Inherited from ASPxGridHeaderFilterEventArgs.
AddShowBlanks(String) Creates and adds the "Blanks" filter value to the header filter values. Inherited from ASPxGridHeaderFilterEventArgs.
AddShowNonBlanks(String) Creates and adds the "(Non blanks)" filter value to the header filter values. Inherited from ASPxGridHeaderFilterEventArgs.
AddValue(String, String) Adds a new filter item to the header filter. Inherited from ASPxGridHeaderFilterEventArgs.
AddValue(String, String, String) Adds a new filter item with the specified filter criteria to the header filter. Inherited from ASPxGridHeaderFilterEventArgs.
CreateShowBlanksValue(String) Creates and returns the (Blanks) filter item used to filter a column by blank value