ASPxVerticalGrid.HeaderFilterEditorInitialize Event
In This Article
Occurs when a header filter editor is initialized.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public event ASPxVerticalGridHeaderFilterEditorInitializeEventHandler HeaderFilterEditorInitialize
#Event Data
The HeaderFilterEditorInitialize event's data class is ASPxVerticalGridHeaderFilterEditorInitializeEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Editor |
Gets the editor in the header filter.
Inherited from ASPx |
Editor |
Gets the editor type.
Inherited from ASPx |
Row | Gets the row to which the processed editor belongs. |
#Remarks
You can use the HeaderFilterEditorInitialize event to customize the header filter editor when it is initialized.
<ASPxVerticalGrid ID="ASPxVerticalGrid1" onHeaderFilterEditorInitialize="ASPxVerticalGrid1_HeaderFilterEditorInitialize">
...
</ASPxVerticalGrid>
protected void ASPxVerticalGrid1_HeaderFilterEditorInitialize(object sender, ASPxVerticalGridHeaderFilterEditorInitializeEventArgs e) {
if (e.EditorType == GridHeaderFilterEditorType.Calendar){
// your code
}
}
Note that the HeaderFilterEditorInitialize event supports only editors that do not send callbacks.
See Also