Show TOC

LayoutDataLocate this document in the navigation structure

The layout data of a UI element is used to specify the positioning in its container. The data must match the current containerLayout.

LayoutData represents the abstract base UI element of all LayoutData UI elements.

LayoutData UI elements include:

These UI elements are used for the following purposes:

  • Padding between individual UI elements and between the UI element and the grid cell
  • Horizontal and vertical alignment of the UI elements within the grid
  • Width and height of the UI element in the cell

Each UI element references a LayoutData object that can be used for the alignment of a UI element. This LayoutData object is an instance of the subclass of the abstract LayoutData base class. Web Dynpro provides the following LayoutData UI elements for Layout UI elements, FlowLayout, FormLayout, GridLayout, MatrixLayout, and RowLayout:

Assignment Layout - Data

Layout UI Element LayoutData UI Element Description

FlowLayout

FlowData

FlowData provides the layout data for a UI element whose container has a FlowLayout.

FormLayout

FormData

FormData provides the layout data for a UI element whose container has a FormLayout.

GridLayout

GridData

GridData provides the layout data for a UI element whose container has a GridLayout.

MartrixLayout

MatrixData

MatrixData provides the layout data for a UI element whose container has a MatrixLayout.

RowLayout

RowData

RowData provides the layout data for a UI element whose container has a RowLayout.

Runtime Class

CL_WD_LAYOUT_DATA

Properties in the View Designer

Name Type Initial Value Bindable

id

STRING

(automatic)

No

Note

Properties and methods that can be inherited are defined in the associated higher-level class. The associated UI element isViewElement.