LayoutData
The layout data of a UI element is used to specify the positioning in its container. The data must match the current container Layout.
LayoutData represents the abstract base UI element of all LayoutData UI elements.
LayoutData UI elements include:
● FlowData
● GridData
● RowData
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 |
FlowData provides the layout data for a UI element whose container has a FlowLayout. |
||
FormData provides the layout data for a UI element whose container has a FormLayout. |
||
GridData provides the layout data for a UI element whose container has a GridLayout. |
||
MatrixData provides the layout data for a UI element whose container has a MatrixLayout. |
||
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 |
STRING |
(automatic) |
No |

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