RowRepeater
A RowRepeater is used to display UI elements specified in the Element (ROW_ELEMENTS) aggregation in a list. Each row in a RowRepeater looks the same since each row consists of the same UI elements, and only the individual rows contain different content.
A RowRepeater is bound to the dataSource of multiple context nodes. For each element in the context, a row is displayed in the RowRepeater.
The ROW_ELEMENTS define the structure of a row in the list. If the element is a TransparentContainer with MatrixLayout, the matrix data is assigned in the grids of the RowRepeater. You can use the vGutter property of the matrix data to attain additional padding and display vertical separators. Otherwise standard values are used for the layout properties.
Example of the Visual Display
|
|
| Runtime Class |
CL_WD_ROW_REPEATER |
Properties in View Designer
| Name | Type | Initial Value | Bindable |
|---|---|---|---|
|
STRING |
(automatic) |
No |
|
|
Translatable text |
Yes |
||
|
WDUI_CONTEXT_MENU_BEHAVIOUR |
inherit |
No |
|
|
WDY_MD_UI_ELEMENT_REFERENCE |
No |
||
|
Context Node |
Mandatory |
||
|
WDUI_ROW_REPEATER_DESIGN |
transparent |
Yes |
|
|
WDY_BOOLEAN |
true |
Yes |
|
|
I |
0 |
Yes |
|
|
Translatable text |
Yes |
||
| styleClassName | STRING | Yes | |
|
Translatable text |
Yes |
||
|
WDUI_VISIBILITY |
visible |
Yes |
|
|
I |
10 |
Yes |
|
|
STRING |
Yes |
Aggregations in the View Designer
Dynamic Programming
For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. But note that the spelling format and use of upper/lower case is different.
Dynamic Programming of Properties
| View Designer Name | Runtime Name | Type |
|---|---|---|
|
ACCESSIBILITY_DESCR |
WDY_MD_TRANSLATABLE_TEXT |
|
|
CONTEXT_MENU_BEHAVIOUR |
WDUI_CONTEXT_MENU_BEHAVIOUR |
|
|
contextMenuBehaviour: inherit |
CL_WD_ROW_REPEATER=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT |
|
|
contextMenuBehaviour: provide |
CL_WD_ROW_REPEATER=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE |
|
|
contextMenuBehaviour: suppress |
CL_WD_ROW_REPEATER=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS |
|
|
CONTEXT_MENU_ID |
WDY_MD_UI_ELEMENT_REFERENCE |
|
|
DATA_SOURCE |
OBJECT |
|
|
DESIGN |
WDUI_ROW_REPEATER_DESIGN |
|
|
design: alternating |
CL_WD_ROW_REPEATER=>E_DESIGN-ALTERNATING |
|
|
design: transparent |
CL_WD_ROW_REPEATER=>E_DESIGN-TRANSPARENT |
|
|
ENABLED |
WDY_BOOLEAN |
|
|
FIRST_VISIBLE_ROW |
I |
|
|
ROW_DESCRIPTION |
WDY_MD_TRANSLATABLE_TEXT |
|
| styleClassName | STYLE_CLASS_NAME | STRING |
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
|
VISIBLE |
WDUI_VISIBILITY |
|
|
visible: none |
CL_WD_ROW_REPEATER=>E_VISIBLE-NONE |
|
|
visible: visible |
CL_WD_ROW_REPEATER=>E_VISIBLE-VISIBLE |
|
|
VISIBLE_ROW_COUNT |
I |
|
|
WIDTH |
STRING |
Dynamic Programming of Aggregations
| View Designer Name | Runtime Name | Cardinality |
|---|---|---|
|
ROW_ELEMENTS |
0..n |
Example
You can find examples of this UI element in the WDR_TEST_EVENTS component.
