Element Details: Menu+Tree
 Back


Available in: Logi Info Source code name: MenuTreeIntroduced in: 12.1.188

Menus typically launch actions such as running another report or linking to another web site. The MenuTree element is used to define a menu with optional sub-menus.

Add MenuLeaf elements for each link in the menu.

Add MenuBranch elements to group MenuLeaf links together. MenuBranches may be nested to any number of levels.

The LevelIndent attribute specifies the amount of indentation of child menu items when MenuMode="Vertical".



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
BranchCollapsedImage
UserDefined
The image that appears when the tree branch is collapsed.
BranchExpandedImage
UserDefined
The image that appears when the tree branch is expanded.
Class
UserDefined
UserDefined
Sets the Cascading Style Sheet class used by the element. When set, this class will also be used by all child elements that don't have their own class. The class should be defined in the report's style sheet file.
DisableRememberExpansion
True
False
Expansion and collapse of the menu tree are remembered in the browser's Local Storage. Set DisableRememberExpansion="True" to disable this feature.
HorizontalMenuSpacing
UserDefined
The number of spaces between top-level MenuBranches when the MenuTree's MenuMode="HorizontalPopup".
ID
UserDefined
(Required) The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
LevelIndent
UserDefined
LevelIndent sets the amount of indentation, in pixels, used to show levels of a hierarchy.
MenuMode
VerticalPopup
Vertical
HorizontalPopup
MenuMode sets the style of the menu. "Vertical" lists menu branches and items downwards below each other in a list. "VerticalPopup" lists just the top-level branches and items in a list. Selecting a branch shows a popup menu. "HorizontalPopup" lists just the top-level branches and items from left-to-right. Selecting a branch shows a popup menu.
SecurityRightID
UserDefined
When entered, access to this element can be controlled with Logi security. Supply the ID of a right defined in the applications settings’ Security element. Only users that have a right in the SecurityRightID will be able to see the element. Note that when rights come from RightFromRole elements under Security/UserRights, and this element's SecurityRightID does NOT match any of the Right IDs defined in the Settings definition, then the user DOES have access. But when Right IDs are instead derived from RightsFromDataLayer or RightsFromRoles elements, and the user DOES NOT have a matching Right, then the user DOES NOT have access. You can enter multiple right IDs, separated by commas. In this case, the user sees the element if he has any one of the Rights.



PARENT ELEMENTS

Click element to drill down for more information.

Body
Column Cell
Division
Fieldset Box
HTML Tag
Panel Content
Rectangle
Report Footer
Report Header
Responsive Column
Tab Panel


CHILD ELEMENTS

Click element to drill down for more information.

Conditional Class Menu Branch Menu Leaf


 Back to top


 Chart Debug