TcxExtLookupComboBoxProperties.View Property
Determines the data-aware (Banded) Table View displayed within the dropdown window of an ExtLookupEditor.
Declaration
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.