GridViewSettings.HeaderFilterEditorInitialize Property
Occurs when a header filter editor is initialized.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
public ASPxGridViewHeaderFilterEditorInitializeEventHandler HeaderFilterEditorInitialize { get; set; }
Property Value
Type | Description |
---|---|
ASPxGridViewHeaderFilterEditorInitializeEventHandler | A delegate method. |
Remarks
You can use the HeaderFilterEditorInitialize event to customize the header filter editor when it is initialized.
settings.HeaderFilterEditorInitialize = (s, e) => {
if (e.EditorType = GridHeaderFilterEditorType.Calendar){
// your code
}
};
See Also