
The TableColumn UI element is a column within a table .
To enable the development of accessible applications, the caption property is checked during the syntax check.
You can find information about the aspects that must be considered when setting the column width for the layout of a Table or TableColumn in SAP Note 1253282
.
More information:
| Runtime Class |
CL_WD_TABLE_COLUMN |
Properties in the View Designer
| Name | Type | Initial Value | Bindable |
|---|---|---|---|
|
STRING |
(automatic) |
No |
|
|
Übersetzbarer Text |
Yes |
||
|
WDUI_TABLE_CELL_DESIGN |
standard |
Yes |
|
|
WDUI_TABLE_COL_SEL_STATE |
notSelectable |
Yes |
|
|
WDUI_CONTEXT_MENU_BEHAVIOUR |
inherit |
No |
|
|
WDY_MD_UI_ELEMENT_REFERENCE |
No |
||
|
Translatable text |
No |
||
|
STRING |
Yes |
||
|
Translatable text |
Yes |
||
|
WDUI_TABLE_COLUMN_FIXED_POS |
notFixed |
Yes |
|
|
STRING |
Yes |
||
|
WDY_BOOLEAN |
false |
Yes |
|
|
WDUI_TABLE_COLUMN_HALIGN |
auto |
Yes |
|
|
WDY_BOOLEAN |
false |
Yes |
|
|
WDY_BOOLEAN |
true |
Yes |
|
|
STRING |
Yes |
||
|
WDUI_TABLE_COL_SORT_DIR |
none |
Yes |
|
|
WDUI_VISIBILITY |
visible |
Yes |
|
|
STRING |
Yes |
Aggregations in the View Designer
| Name | Cardinality | Type |
|---|---|---|
|
0..n |
||
|
0..n |
||
|
0..n |
||
|
0..1 |
||
|
0..1 |
||
|
1..1 |
TableCellEditor |
Events in the View Designer
| Name |
|---|
Other properties that can be inherited are defined in the associated higher-level classes. The associated UI elements are:
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 |
|---|---|---|
|
ACCESSIBILITY_DESCR |
WDY_MD_TRANSLATABLE_TEXT |
|
|
CELL_DESIGN |
WDUI_TABLE_CELL_DESIGN |
|
|
cellDesign: badvalue_dark |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-BADVALUE_DARK |
|
|
cellDesign: badvalue_light |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-BADVALUE_LIGHT |
|
|
cellDesign: badvalue_medium |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-BADVALUE_MEDIUM |
|
|
cellDesign: calendarAqua |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-CALENDAR_AQUA |
|
|
cellDesign: calendarBlue |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-CALENDAR_BLUE |
|
|
cellDesign: calendarBrown |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-CALENDAR_BROWN |
|
|
cellDesign: calendarGreen |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-CALENDAR_GREEN |
|
|
cellDesign: calendarMetal |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-CALENDAR_METAL |
|
|
cellDesign: calendarPeach |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-CALENDAR_PEACH |
|
|
cellDesign: calendarPurple |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-CALENDAR_PURPLE |
|
|
cellDesign: calendarRose |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-CALENDAR_ROSE |
|
|
cellDesign: calendarStandard |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-CALENDAR_STANDARD |
|
|
cellDesign: calendarTeal |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-CALENDAR_TEAL |
|
|
cellDesign: calendarYellow |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-CALENDAR_YELLOW |
|
|
cellDesign: criticalvalue_dark |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-CRITICALVALUE_DARK |
|
|
cellDesign: criticalvalue_light |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-CRITICALVALUE_LIGHT |
|
|
cellDesign: criticalvalue_medium |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-CRITICALVALUE_MEDIUM |
|
|
cellDesign: four |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-FOUR |
|
|
cellDesign: goodvalue_dark |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-GOODVALUE_DARK |
|
|
cellDesign: goodvalue_light |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-GOODVALUE_LIGHT |
|
|
cellDesign: goodvalue_medium |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-GOODVALUE_MEDIUM |
|
|
cellDesign: group_level1 |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-GROUP_LEVEL1 |
|
|
cellDesign: group_level2 |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-GROUP_LEVEL2 |
|
|
cellDesign: group_level3 |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-GROUP_LEVEL3 |
|
|
cellDesign: key_medium |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-KEY_MEDIUM |
|
|
cellDesign: negative |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-NEGATIVE |
|
|
cellDesign: one |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-ONE |
|
|
cellDesign: positive |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-POSITIVE |
|
|
cellDesign: standard |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-STANDARD |
|
|
cellDesign: three |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-THREE |
|
|
cellDesign: two |
CL_WD_TABLE_COLUMN=>E_CELL_DESIGN-TWO |
|
|
COL_SELECTION_STATE |
WDUI_TABLE_COL_SEL_STATE |
|
|
colSelectionState: notSelectable |
CL_WD_TABLE_COLUMN=>E_COL_SELECTION_STATE-NOT_SELECTABLE |
|
|
colSelectionState: notSelected |
CL_WD_TABLE_COLUMN=>E_COL_SELECTION_STATE-NOT_SELECTED |
|
|
colSelectionState: selected |
CL_WD_TABLE_COLUMN=>E_COL_SELECTION_STATE-SELECTED |
|
|
CONTEXT_MENU_BEHAVIOUR |
WDUI_CONTEXT_MENU_BEHAVIOUR |
|
|
contextMenuBehaviour: inherit |
CL_WD_TABLE_COLUMN=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT |
|
|
contextMenuBehaviour: provide |
CL_WD_TABLE_COLUMN=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE |
|
|
contextMenuBehaviour: suppress |
CL_WD_TABLE_COLUMN=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS |
|
|
CONTEXT_MENU_ID |
WDY_MD_UI_ELEMENT_REFERENCE |
|
|
EXPLANATION |
WDY_MD_TRANSLATABLE_TEXT |
|
|
FILTER_VALUE |
STRING |
|
|
FILTER_VALUE_SUGGESTIONS |
WDY_MD_TRANSLATABLE_TEXT |
|
|
FIXED_POSITION |
WDUI_TABLE_COLUMN_FIXED_POS |
|
|
fixedPosition: left |
CL_WD_TABLE_COLUMN=>E_FIXED_POSITION-LEFT |
|
|
fixedPosition: notFixed |
CL_WD_TABLE_COLUMN=>E_FIXED_POSITION-NOT_FIXED |
|
|
fixedPosition: right |
CL_WD_TABLE_COLUMN=>E_FIXED_POSITION-RIGHT |
|
|
GROUPING_VALUE |
STRING |
|
|
HEADER_TEXT_WRAPPING |
WDY_BOOLEAN |
|
|
H_ALIGN |
WDUI_TABLE_COLUMN_HALIGN |
|
|
hAlign: auto |
CL_WD_TABLE_COLUMN=>E_H_ALIGN-AUTO |
|
|
hAlign: beginOfLine |
CL_WD_TABLE_COLUMN=>E_H_ALIGN-BEGIN_OF_LINE |
|
|
hAlign: center |
CL_WD_TABLE_COLUMN=>E_H_ALIGN-CENTER |
|
|
hAlign: endOfLine |
CL_WD_TABLE_COLUMN=>E_H_ALIGN-END_OF_LINE |
|
|
hAlign: forcedLeft |
CL_WD_TABLE_COLUMN=>E_H_ALIGN-FORCED_LEFT |
|
|
hAlign: forcedRight |
CL_WD_TABLE_COLUMN=>E_H_ALIGN-FORCED_RIGHT |
|
|
IS_FILTERED |
WDY_BOOLEAN |
|
|
RESIZABLE |
WDY_BOOLEAN |
|
|
SELECTED_CELL_VARIANT |
STRING |
|
|
SORT_STATE |
WDUI_TABLE_COL_SORT_DIR |
|
|
sortState: down |
CL_WD_TABLE_COLUMN=>E_SORT_STATE-DOWN |
|
|
sortState: none |
CL_WD_TABLE_COLUMN=>E_SORT_STATE-NONE |
|
|
sortState: notSortable |
CL_WD_TABLE_COLUMN=>E_SORT_STATE-NOT_SORTABLE |
|
|
sortState: up |
CL_WD_TABLE_COLUMN=>E_SORT_STATE-UP |
|
|
VISIBLE |
WDUI_VISIBILITY |
|
|
visible: none |
CL_WD_TABLE_COLUMN=>E_VISIBLE-NONE |
|
|
visible: visible |
CL_WD_TABLE_COLUMN=>E_VISIBLE-VISIBLE |
|
|
WIDTH |
STRING |
Dynamic Programming of Events
| View Designer Name | Runtime Name |
|---|---|
|
ON_ACTION |
Dynamic Programming of Aggregations
| View Designer Name | Runtime Name | Cardinality |
|---|---|---|
|
CELL_VARIANTS |
0..n |
|
|
FIXED_BOTTOM_CELLS |
0..n |
|
|
FIXED_TOP_CELLS |
0..n |
|
|
HEADER |
0..1 |
|
|
POPIN |
0..1 |
|
|
TABLE_CELL_EDITOR |
1..1 |