Skip to main content

TdxDbOrgChart.KeyOrder Property

KeyOrder enables using KeyField for storing the OrgChart node order.

Declaration

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