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

TcxFilterItem.FieldName Property

Specifies the name of a dataset field represented by an item.

#Declaration

Delphi
property FieldName: string read; write;

#Property Value

Type
string

#Remarks

Use the FieldName property to specify the name of the linked dataset’s field being referenced by a filter item.

Data-aware filter controls are used to filter data of bound datasets. A dataset object can be linked to a filter control via the DataSet property. By default, all the dataset’s filterable fields can be involved in building and applying filter conditions, but you can specify a subset of fields to be available for filtering. For this purpose, you should explicitly declare filter items in the Items collection. These items will represent the required fields. The FieldName property of an individual collection item should be set to the name of the corresponding field from the linked dataset.

Note

If any field of the linked dataset contains blanks within its name, a filter item for such a field should be declared explicitly and the FieldName property of the item should contain the corresponding field’s name enclosed in square brackets.

See Also