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

TdxDbOrgChart.KeyField Property

KeyField contains a key value for tree nodes corresponding to a given database record.

#Declaration

Delphi
property KeyField: TField read;

#Property Value

Type
TField

#Remarks

Contains a reference to the required field of a connected database setting the Key property of tree nodes. Can be changed via setting of KeyFieldName. This field can be of any type, though it is usually defined as an integer. Values in KeyField field must be unique for each record and must not be empty. Key value duplication for several records will force only a single node to be built. Records with blank key value are ignored.

See Also