Data Menu
The Data Menu element is used to define a menu, with optional sub-menus, for use in Logi mobile reports.
The following topics provide guidance for using the Data Menu, with simple and complex examples:
- Data Menu Attributes
- Example: Simple Menu
- Example: Complex Menu (with sub-menus)
- Changing Appearance with Template Modifiers
About the Data Menu
Logi developers can use the Data Menu element to create menus and sub-menus for their mobile reports:
A typical menu is shown above. Each menu item appears in its own horizontal bar, followed by a right-justified ">" symbol. An optional image can be included to the left of the menu item. When the menu item is tapped, the application navigates to a sub-menu, a new mobile report, or a different URL.
The Data Menu can be used to create a simple menu or more complex menus that include a hierarchy of sub-menus.
The menu items, links, and all other required information are retrieved into a datalayer, so the menu can be data-driven and security can be applied. The attributes of the Data Menu element are used to identify the columns in the datalayer whose values comprise the menu items, image file names, actions, etc. that make up the menu.
The examples below assume that you're using a Logi Info build that includes the Data Menu element and that you're working in a Mobile Report definition.