Skip to main content
All docs
V25.1
  • Tab

    ASPxVerticalGridHeaderFilterEditorInitializeEventArgs.Row Property

    Gets the row to which the processed editor belongs.

    Namespace: DevExpress.Web

    Assembly: DevExpress.Web.v25.1.dll

    NuGet Package: DevExpress.Web

    Declaration

    public VerticalGridDataRow Row { get; }

    Property Value

    Type Description
    VerticalGridDataRow

    The row.

    Remarks

    Web Forms:

    <ASPxVerticalGrid ID="ASPxVerticalGrid1" onHeaderFilterEditorInitialize="ASPxVerticalGrid1_HeaderFilterEditorInitialize">
        ...
    </ASPxVerticalGrid>
    
    protected void ASPxVerticalGrid1_HeaderFilterEditorInitialize(object sender, ASPxVerticalGridHeaderFilterEditorInitializeEventArgs e) {
        if (e.Row.FieldName == "ProductName") {
            // your code
        }
    }
    

    MVC:

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

    See Also