Skip to main content
A newer version of this page is available. .
Tab

ASPxVerticalGridHeaderFilterEditorInitializeEventArgs.Row Property

Gets the row to which the processed editor belongs.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.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