Skip to main content

DrawerLayout

Purpose

The DrawerLayout displays assigned ViewTemplates or referenced Views below a horizontal header bar. It is suitable when content should remain visually grouped and optionally collapsible.

Behavior

Compared to NoneLayout, DrawerLayout adds the following behavior:

  • A horizontal bar is shown on top. Optionally, this bar can include a caption through property layoutCaption.
  • Via a button at the right end of the bar, identified by the ^ icon, the user can hide all Views and ViewTemplates assigned to the View that uses the DrawerLayout.
  • Property fixedDrawer: If checked, the hide function is disabled. In this case, the horizontal header bar and its optional caption are the only differences compared to the NoneLayout.

Configuration

The most relevant layout-specific properties are:

  • layoutCaption, which defines the optional caption in the horizontal bar
  • fixedDrawer, which disables collapsing and keeps the content permanently visible

Example usage

AppointmentFilter_view in Context Person, assigned to PersonTaskAppointment_view, which in turn is assigned to PersonMain_view. In the client, open Contact Management > Contact, select a person, open the MainView, and switch to tab Tasks. In the lower area of this tab, a table is shown below a horizontal bar with the caption Linked Appointments. The table can be hidden via the button at the right end of the bar.