Start of Content Area

Background documentation GridLayout  Locate the document in its SAP Library structure

The GridLayout represents a layout that arranges the interface elements in a grid in the interface element container. The colCount GridLayout property can be used to specify the number of grid columns.

Note

The InvisibleElement interface elements enables the use of empty GridLayout cells in 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

 

Aggregations in the View Designer

Name

Cardinality

Type

DRAG_SOURCE_INFO

0..1

DragSourceInfo

DROP_TARGET_INFO

0..1

DropTargetInfo

 

Events in the View Designer

Name

onDrop

Note

Other properties that can be inherited are defined in the associated high-level classes. The associated UI elements are:

        Layout

        ViewElement

Dynamic Programming

For dynamic programming, the same properties, events, and aggregations are available as 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

 

Dynamic programming of events

View Designer name

Runtime name

onDrop

ON_DROP

 

Dynamic programming of aggregations

View Designer name

Runtime name

Cardinality

DRAG_SOURCE_INFO

DRAG_SOURCE_INFO

0..1

DROP_TARGET_INFO

DROP_TARGET_INFO

0..1

 

 

End of Content Area