Skip to main content

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

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

Declaration

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