Skip to main content
All docs
V25.1
  • ASPxTreeListHeaderFilterEditorInitializeEventArgs.Column Property

    Gets the column to which the processed editor belongs.

    Namespace: DevExpress.Web.ASPxTreeList

    Assembly: DevExpress.Web.ASPxTreeList.v25.1.dll

    NuGet Package: DevExpress.Web

    Declaration

    public TreeListDataColumn Column { get; }

    Property Value

    Type Description
    TreeListDataColumn

    The column.

    Remarks

    Web Forms:

    <ASPxTreeList ID="ASPxTreeList1" onHeaderFilterEditorInitialize="ASPxTreeList1_HeaderFilterEditorInitialize">
        ...
    </ASPxTreeList>
    
    protected void ASPxTreeList1_HeaderFilterEditorInitialize(object sender, ASPxTreeListHeaderFilterEditorInitializeEventArgs e) {
        if (e.Column.FieldName == "ProductName"){
            // your code
        }
    }
    

    MVC:

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

    See Also