ListCaptions.EnableMenu

Syntax

EnableMenu: Boolean;

Description

The EnableMenu property determines whether column visibility menu is active.

Comments

Use JSON or the setEnableMenu method to set the property value, and the getEnableMenu method to get the property value.

Example

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

// Get tree titles
caps = Tree.getCaptions();
// Disable column visibility menu
caps.setEnableMenu(false);

After executing the example column visibility menu is disabled and hidden.

See also:

ListCaptions