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

TcxGridItemDataBinding.GetFilterValues(TcxGridFilterValueList,Boolean,Boolean,Boolean) Method

Populates the AValueList with the filter conditions of the corresponding item (a row or a column).

#Declaration

Delphi
procedure GetFilterValues(AValueList: TcxGridFilterValueList; AValuesOnly: Boolean = True; AInitSortByDisplayText: Boolean = False; ACanUseFilteredValues: Boolean = False); overload;

#Parameters

Name Type
AValueList TcxGridFilterValueList
AValuesOnly Boolean
AInitSortByDisplayText Boolean
ACanUseFilteredValues Boolean

#Remarks

The AValueList parameter specifies a list to be populated with filter conditions;

The AValuesOnly parameter specifies whether to add fviValue filter conditions only (see the TcxFilterValueList class). Set the AValuesOnly parameter to False, to add all types of filter conditions;

The AInitSortByDisplayText parameter specifies whether filter items in the list are ordered by the display text or by value (see the SortByDisplayText property). Set the AInitSortByDisplayText parameter to True to sort items by the display text;

The ACanUseFilteredValues parameter specifies whether all filter conditions, or only those that were applied to the item prior to the call, are added to the list. Set the ACanUseFilteredValues parameter to True to only add criteria from the previously used filter.

See Also