All docs
V19.2
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
Tab
A newer version of this page is available. Switch to the current version.

GridHeaderFilterEditorType Enum

Lists editor types in the header filter.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public enum GridHeaderFilterEditorType
Public Enum GridHeaderFilterEditorType

Members

Name Description
StartDateEdit

The date editor that specifies the start point of a date range.

EndDateEdit

The date editor that specifies the end point of a date range.

Calendar

The calendar.

CheckBoxList

The check box list.

ListBox

the list box.

Related API Members

The following properties accept/return GridHeaderFilterEditorType values:

Remarks

Use the EditorType property to identify an editor type in the header filter.

Web Forms:

// For ASPxCardView
protected void ASPxCardView1_HeaderFilterEditorInitialize(object sender, ASPxCardViewHeaderFilterEditorInitializeEventArgs e) {
    if (e.EditorType == GridHeaderFilterEditorType.Calendar){
        //...
        e.Editor.Enabled = false;
    }
}

MVC:

settings.HeaderFilterEditorInitialize = (s, e) => {
    if (e.EditorType == GridHeaderFilterEditorType.Calendar){
        //...
        e.Editor.Enabled = false;
    }
};

See Also