TreeListView.EnableKeyNavigation

Syntax

EnableKeyNavigation: Boolean;

Description

The EnableKeyNavigation property determines whether keyboard can be used for navigation in a tree.

Comments

Use JSON or the setEnableKeyNavigation method to set the property value and the getEnableKeyNavigation method to get the property value.

By default is is set to true.

Example

Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).

// Disable keyboard navigation 
Tree.setEnableKeyNavigation(false);

After executing the example keyboard navigation in a tree is disabled.

See also:

TreeListView