Skip to main content

TcxCustomDBLookupEditProperties.ListFieldNames Property

Specifies the list of data source fields whose values are displayed within the dropdown list of an editor.

Declaration

property ListFieldNames: string read; write;

Property Value

Type
string

Remarks

Use the ListFieldNames property to specify the list of data source fields displayed within the editor’s dropdown list. To specify several field names, delimit them with semicolons.

For each field added via the ListFieldNames property, a column in the lookup editor’s dropdown window will be created.

For a LookupComboBox control, an alternative way to specify fields to display in the dropdown window is to add columns via the editor’s Properties.ListColumns collection.

For an ExtLookupComboBox editor, which displays a grid view in its dropdown window, columns are retrieved from this view. All columns can be accessed via the editor’s Properties.View.Items collection.

If a user adds the name of the existing data source field to the ListFieldNames property value, then an additional column is added. If the field name is removed from ListFieldNames, an appropriate column is removed as well.

To specify the source of records to display in the dropdown window, see:

See Also