Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridCardViewFiltering.RowAddValueItems Property

Specifies whether or not value items (fviValue filter conditions) are added to filter dropdowns.

#Declaration

Delphi
property RowAddValueItems: Boolean read; write; default True;

#Property Value

Type Default
Boolean True

#Remarks

Filter dropdowns are always populated with value items by default. When a grid View is bound to a large dataset, obtaining value items may take time. To improve performance, prohibit adding value items to the View’s filter dropdowns by assigning False to the RowAddValueItems property. The property setting is applied to all card row filter dropdowns in the View. To control this functionality in individual card rows, use a card row’s Options.FilteringAddValueItems property. Values are added to a card row’s filter dropdown only if both the RowAddValueItems and Options.FilteringAddValueItems properties are set to True.

Handle the View’s DataController.Filter.OnGetValueList event to manually extend filter dropdowns with required values.

To improve performance when manually populating filter dropdown lists with items, call the TcxGridFilterValueList.Load method and pass False as the AAddValueItems method parameter.

The default value of the RowAddValueItems property is True.

See Also