ASPxVerticalGridHeaderFilterEditorInitializeEventArgs.Row Property
In This Article
Gets the row to which the processed editor belongs.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public VerticalGridDataRow Row { get; }
#Property Value
Type | Description |
---|---|
Vertical |
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:
C#
settings.HeaderFilterEditorInitialize = (s, e) => {
if (e.Row.FieldName == "ProductName"){
// your code
}
};
See Also