Start of Content Area

Background documentation TableColumnGroup  Locate the document in its SAP Library structure

This UI element is used to display a group of columns for a Table. This allows more rows to be added to the table header where the title extends over several columns.

Example of the Visual Display:

This graphic is explained in the accompanying text

Note

Note that the onAction action is not supported for a TableColumnGroup.

 

Runtime Class

CL_WD_TABLE_COLUMN_GROUP

 

Properties in the View Designer

Name

Type

Initial Value

Bindable

id

STRING

(automatic)

No

accessibilityDescription

Translatable text

 

Yes

contextMenuBehaviour

WDUI_CONTEXT_MENU_BEHAVIOUR

inherit

No

contextMenuId

WDY_MD_UI_ELEMENT_REFERENCE

 

No

explanation

Translatable text

 

No

fixedPosition

WDUI_TABLE_COLUMN_FIXED_POS

notFixed

Yes

headerTextWrapping

WDY_BOOLEAN

false

Yes

visible

WDUI_VISIBILITY

visible

Yes

 

Aggregations in the View Designer

Name

Cardinality

Type

Column

0..n

AbstractTableColumn

Header

0..1

Caption

 

Note

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

        AbstractTableColumn

        ContextMenuProvider

        ViewElement

Dynamic Programming

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

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

accessibilityDescription

ACCESSIBILITY_DESCR

WDY_MD_TRANSLATABLE_TEXT

contextMenuBehaviour

CONTEXT_MENU_BEHAVIOUR

WDUI_CONTEXT_MENU_BEHAVIOUR

 contextMenuBehaviour: inherit

CL_WD_TABLE_COLUMN_GROUP=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT

 contextMenuBehaviour: provide

CL_WD_TABLE_COLUMN_GROUP=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE

 contextMenuBehaviour: suppress

CL_WD_TABLE_COLUMN_GROUP=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS

contextMenuId

CONTEXT_MENU_ID

WDY_MD_UI_ELEMENT_REFERENCE

explanation

EXPLANATION

WDY_MD_TRANSLATABLE_TEXT

fixedPosition

FIXED_POSITION

WDUI_TABLE_COLUMN_FIXED_POS

 fixedPosition: left

CL_WD_TABLE_COLUMN_GROUP=>E_FIXED_POSITION-LEFT

 fixedPosition: notFixed

CL_WD_TABLE_COLUMN_GROUP=>E_FIXED_POSITION-NOT_FIXED

 fixedPosition: right

CL_WD_TABLE_COLUMN_GROUP=>E_FIXED_POSITION-RIGHT

headerTextWrapping

HEADER_TEXT_WRAPPING

WDY_BOOLEAN

visible

VISIBLE

WDUI_VISIBILITY

visible: none

CL_WD_TABLE_COLUMN_GROUP=>E_VISIBLE-NONE

visible: visible

CL_WD_TABLE_COLUMN_GROUP=>E_VISIBLE-VISIBLE

 

Dynamic Programming of Aggregations

View Designer Name

Runtime Name

Cardinality

Column

COLUMNS

0..n

Header

HEADER

0..1

 

 

End of Content Area