Skip to main content
All docs
V25.1
  • Tab

    ASPxGridViewHeaderFilterEditorInitializeEventArgs.Column Property

    Gets the column to which the processed editor belongs.

    Namespace: DevExpress.Web

    Assembly: DevExpress.Web.v25.1.dll

    NuGet Package: DevExpress.Web

    Declaration

    public GridViewDataColumn Column { get; }

    Property Value

    Type Description
    GridViewDataColumn

    The column.

    Remarks

    Web Forms:

    <ASPxGridView ID="ASPxGridView1" onHeaderFilterEditorInitialize="ASPxGridView1_HeaderFilterEditorInitialize">
        ...
    </ASPxGridView>
    
    protected void ASPxGridView1_HeaderFilterEditorInitialize(object sender, ASPxGridViewHeaderFilterEditorInitializeEventArgs e) {
        if (e.Column.FieldName == "ProductName"){
            // your code
        }
    }
    

    MVC:

    settings.HeaderFilterEditorInitialize = (s, e) => {
        if (e.Column.FieldName == "ProductName"){
            // your code
        }
    };
    

    See Also