hideMenu();
The hideMenu method hides column visibility menu.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Get tree titles caps = Tree.getCaptions(); // Hide column visibility menu caps.hideMenu();
After executing the example the menu button is hidden.
See also: