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

FilterValue.CreateShowBlanksValue(VerticalGridDataRow, String) Method

Creates and returns the (Blanks) filter item used to filter a column by blank values.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public static FilterValue CreateShowBlanksValue(
    VerticalGridDataRow column,
    string text
)

Parameters

Name Type Description
column VerticalGridDataRow

A VerticalGridDataRow object that is the data row.

text String

A String value that specifies the item’s display text.

Returns

Type Description
FilterValue

Returns the filter item used to filter by blank values.

Remarks

When creating custom filter values by handling the ASPxVerticalGrid.HeaderFilterFillItems event, you can use the CreateShowBlanksValue method to create the (Blanks) filter item. The created item can be added to a header filter using the event argument’s ASPxGridHeaderFilterEventArgs.AddValue method.

See Also