Skip to content

Latest commit

 

History

History
101 lines (62 loc) · 1.72 KB

Control_Structure_a254991.md

File metadata and controls

101 lines (62 loc) · 1.72 KB
loio
a254991b7bb040059a95b6a7f551ee51

Control Structure

The sap.f.FlexibleColumnLayout contains 3 instances of sap.m.NavContainer – one for each column.

It is logically similar to sap.m.SplitContainer, however, there are two main differences:

  • Displays up to 3 columns side by side (as opposed to 2 columns)
  • The width of the columns is not fixed, but flexible (determined by the layout property)

The following table respresents how the FlexibleColumnLayout roughly relates to the NavContainer and SplitContainer controls.

Control

API

Number of Pages Displayed

sap.m.NavContainer

pages (aggregation)

1 page at a time

sap.m.SplitContainer

masterPages (aggregation)

detailPages (aggregation)

Up to 2 pages at a time (2 instances of NavContainer)

sap.f.FlexibleColumnLayout

beginColumnPages (aggregation)

midColumnPages (aggregation)

endColumnPages (aggregation)

layout (property of type sap.f.LayoutType, determining the relative widths of the 3 NavContainers)

Up to 3 pages at a time (3 instances of NavContainer)