Skip to main content

TcxDBExtLookupComboBox.DataBinding Property

Specifies the object responsible for connection of the ExtLookupEditor to a dataset.

Declaration

property DataBinding: TcxDBTextEditDataBinding read; write;

Property Value

Type
TcxDBTextEditDataBinding

Remarks

Use the attributes of the DataBinding object to specify the data source and field being edited by the ExtLookupEditor. You should use the DataSource and DataField properties for this purpose.

The View displayed within the dropdown window of the ExtLookupEditor must contain a field corresponding to DataField. This field is addressed by the editor’s Properties.KeyFieldNames property. When you select a specific record from the dropdown View, this changes the value of the DataField into the value of the KeyFieldNames property of the selected record. Conversely, changing the value of the DataField field results in selecting another record in the dropdown View whose KeyFieldNames field value is equal to the DataField field value.

See Also