aspnet-devexpress-dot-web-dot-aspxverticalgrid-0312e71d.md
Occurs when a header filter editor is initialized.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public event ASPxVerticalGridHeaderFilterEditorInitializeEventHandler HeaderFilterEditorInitialize
Public Event HeaderFilterEditorInitialize As ASPxVerticalGridHeaderFilterEditorInitializeEventHandler
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 ASPxGridHeaderFilterEditorInitializeEventArgs. |
| EditorType | Gets the editor type. Inherited from ASPxGridHeaderFilterEditorInitializeEventArgs. |
| Row | Gets the row to which the processed editor belongs. |
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