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.KeyOrder Property

KeyOrder enables using KeyField for storing the OrgChart node order.

#Declaration

Delphi
property KeyOrder: Boolean read; write; default False;

#Property Value

Type Default
Boolean False

#Remarks

Use KeyOrder to enable automatic updating KeyField field on changes to the order of sibling nodes. If the OrderFieldName is not defined correctly and KeyOrder is True, the values in KeyField may be updated on adding new nodes and changing their layout. If KeyOrder is False (it is the default value), key values are not updated, and in this instance, management of a user-defined tree layout may not be guaranteed.

The KeyOrder property is ignored if the OrderFieldName is defined correctly.

The default value of the KeyOrder property is False.

See Also