Entering content frame

Background documentation GridLayout Locate the document in its SAP Library structure

The grid layout is a layout that arranges the UI elements in the UI element container in the form of a grid. The number of grid columns can be specified using the GridLayout property colCount.

Note

The UI element InvisibleElement enables you to use empty grid cells within a GridLayout

 

Runtime Class

CL_WD_GRID_LAYOUT

 

Properties in the View Designer

Name

Type

Initial Value

Bindable

ID

STRING

(automatic)

No

cellPadding

I

0

No

cellSpacing

I

0

No

colCount

I

1

No

stretchedHorizontally

WDY_BOOLEAN

true

No

stretchedVertically

WDY_BOOLEAN

true

No

Note

Layout data is not bindable.

Further properties that can be inherited are defined in the associated higher-level class.  The associated interface elements are:

·         Layout

·         ViewElement

Dynamic Programming

For dynamic programming the same properties, events, and aggregations are provide in the View Designer. Bear in mind the different spellings.

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

cellPadding

CELL_PADDING

I

cellSpacing

CELL_SPACING

I

colCount

COL_COUNT

I

stretchedHorizontally

STRETCHED_HORIZONTALLY

WDY_BOOLEAN

stretchedVertically

STRETCHED_VERTICALLY

WDY_BOOLEAN

 

 

Leaving content frame