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

TcxExtLookupComboBoxProperties.View Property

Determines the data-aware (Banded) Table View displayed within the dropdown window of an ExtLookupEditor.

#Declaration

Delphi
property View: TcxCustomGridTableView read; write;

#Property Value

Type
TcxCustomGridTableView

#Remarks

Use the View property to assign a View displayed in the dropdown window of an ExtLookupEditor. Only data-aware table and Banded Table Views can be assigned.

A View repository component represented by the TcxGridViewRepository class helps you to create and customize Views. Note: you must not employ the same View in your grid control and ExtLookupEditor.

The value to display in the edit box and the edit value are obtained from the currently selected record in the dropdown View. The display value is obtained from the column identified by the ListFieldItem property.

The edit value is specified by the field referenced by KeyFieldNames property. See the editor’s EditValue property to get the edit value. It is possible to specify several key fields via the KeyFieldNames property. In this case, EditValue will hold an array of variants.

See Also