ASPxVerticalGrid.HeaderFilterEditorInitialize Event
Occurs when a header filter editor is initialized.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
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 ASPxGridHeaderFilterEditorInitializeEventArgs. |
EditorType | Gets the editor type. Inherited from ASPxGridHeaderFilterEditorInitializeEventArgs. |
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