Show TOC

DataGridCellLocate this document in the navigation structure

Verwendung

Mit DataGridCell definieren Sie die Zellen eines Segments im DataGrid. Die DataGridCell stellt verschiedene Visualisierungsmöglichkeiten für Segmentzellen zur Verfügung. Für jede DataGridCell muss ein Zelleditor festgelegt werden, der die Visualisierung des Zelleninhaltes bestimmt. Fügen Sie DataGridCell über die Aggregation TEMPLATES in ein DataGridSegment ein. Für jedes DataGridSegment muss mindestens eine DataGridCell definiert sein.

Implementierungsdetails

Laufzeit-Klasse:

CL_WD_DATA_GRID_CELL

Eigenschaften im View Designer

Name

Typ

Anfangswert

Bindbar

id

STRING

(automatisch)

nein

backgroundColor WDUI_TABLE_CELL_DESIGN standard ja

hierarchyLevel

I

0

ja

hierarchyState

WDUI_C_TABLE_HIERACHICAL_STATE

none

ja

imageSource

STRING

ja

isFiltered WDUI_FILTERSTATE none ja
sortState WDUI_TABLE_COL_SORT_DIR none ja

templateKey

STRING

nein

Hinweis

Weitere Eigenschaften, die über Vererbung bereit stehen, sind in den dazugehörigen übergeordneten Klassen definiert. Die dazugehörigen Oberflächenelemente sind:

Aggregationen im View Designer

Name

Kardinalität

Typ

CONTENT

1..1

ClientElement

DECORATORS

0..n

CellDecorator

Events im View Designer

Dynamische Programmierung

Für die dynamische Programmierung stehen dieselben Eigenschaften, Ereignisse und Aggregationen zur Verfügung wie im View Designer. Beachten Sie dabei die unterschiedlichen Schreibweisen.

View Designer Name Laufzeitname Typ
backgroundColor BACKGROUND_COLOR WDUI_TABLE_CELL_DESIGN
backgroundColor: alternating CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-ALTERNATING
backgroundColor: badvalue_dark CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-BADVALUE_DARK
backgroundColor: badvalue_light CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-BADVALUE_LIGHT
backgroundColor: badvalue_medium CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-
backgroundColor: calendarAqua CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-CALENDAR_AQUA
backgroundColor: calendarBlue CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-CALENDAR_BLUE
backgroundColor: calendarBrown CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-CALENDAR_BROWN
backgroundColor: calendarGreen CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-CALENDAR_GREEN
backgroundColor: calendarMetal CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-CALENDAR_METAL
backgroundColor: calendarPeach CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-CALENDAR_PEACH
backgroundColor: calendarPurple CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-CALENDAR_PURPLE
backgroundColor: calendarRose CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-CALENDAR_ROSE
backgroundColor: calendarStandard CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-CALENDAR_STANDARD
backgroundColor: calendarTeal CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-CALENDAR_TEAL
backgroundColor: calendarYellow CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-CALENDAR_YELLOW
backgroundColor: color_aqua CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_AQUA
backgroundColor: color_black CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_BLACK
backgroundColor: color_blue CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_BLUE
backgroundColor: color_blue_gray CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_BLUE_GRAY
backgroundColor: color_bright_green CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_BRIGHT_GREEN
backgroundColor: color_brown CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_BROWN
backgroundColor: color_dark_blue CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_DARK_BLUE
backgroundColor: color_dark_green CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_DARK_GREEN
backgroundColor: color_dark_red CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_DARK_RED
backgroundColor: color_dark_teal CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_DARK_TEAL
backgroundColor: color_dark_yellow CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_DARK_YELLOW
backgroundColor: color_gold CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_GOLD
backgroundColor: color_gray_25 CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_GRAY_25
backgroundColor: color_gray_40 CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_GRAY_40
backgroundColor: color_gray_50 CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_GRAY_50
backgroundColor: color_gray_80 CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_GRAY_80
backgroundColor: color_green CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_GREEN
backgroundColor: color_indigo CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_INDIGO
backgroundColor: color_lavender CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_LAVENDER
backgroundColor: color_light_blue CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_LIGHT_BLUE
backgroundColor: color_light_green CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_LIGHT_GREEN
backgroundColor: color_light_orange CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_LIGHT_ORANGE
backgroundColor: color_light_turquoise CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_LIGHT_TURQUOISE
backgroundColor: color_light_yellow CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_LIGHT_YELLOW
backgroundColor: color_lime CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_LIME
backgroundColor: color_olive_green CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_OLIVE_GREEN
backgroundColor: color_orange CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_ORANGE
backgroundColor: color_pale_blue CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_PALE_BLUE
backgroundColor: color_pink CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_PINK
backgroundColor: color_plum CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_PLUM
backgroundColor: color_red CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_RED
backgroundColor: color_rose CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_ROSE
backgroundColor: color_sea_green CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_SEA_GREEN
backgroundColor: color_sky_blue CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_SKY_BLUE
backgroundColor: color_tan CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_TAN
backgroundColor: color_teal CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_TEAL
backgroundColor: color_turqoise CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_TURQUOISE
backgroundColor: color_violet CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_VIOLET
backgroundColor: color_white CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_WHITE
backgroundColor: color_yellow CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-COLOR_YELLOW
backgroundColor: critical CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-CRITICAL
backgroundColor: criticalvalue_dark CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-CRITICALVALUE_DARK
backgroundColor: criticalvalue_light CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-CRITICALVALUE_LIGHT
backgroundColor: criticalvalue_medium CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-CRITICALVALUE_MEDIUM
backgroundColor: disabled CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-DISABLED
backgroundColor: filter CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-FILTER
backgroundColor: filtericon CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-FILTERICON
backgroundColor: five CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-FIVE
backgroundColor: four CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-FOUR
backgroundColor: goodvalue_dark CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-GOODVALUE_DARK
backgroundColor: goodvalue_light CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-GOODVALUE_LIGHT
backgroundColor: goodvalue_medium CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-GOODVALUE_MEDIUM
backgroundColor: group_highlighted CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-GROUP_HIGHLIGHTED
backgroundColor: group_highlighted_light CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-GROUP_HIGHLIGHTED_LIGHT
backgroundColor: group_level1 CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-GROUP_LEVEL1
backgroundColor: group_level2 CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-GROUP_LEVEL2
backgroundColor: group_level3 CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-GROUP_LEVEL3
backgroundColor: intensified CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-INTENSIFIED
backgroundColor: key_medium CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-KEY_MEDIUM
backgroundColor: marked CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-MARKED
backgroundColor: negative CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-NEGATIVE
backgroundColor: none CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-NONE
backgroundColor: one CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-ONE
backgroundColor: popin CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-POPIN
backgroundColor: positive CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-POSITIVE
backgroundColor: selection CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-SELECTION
backgroundColor: standard CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-STANDARD
backgroundColor: subtotal CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-SUBTOTAL
backgroundColor: subtotal_light CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-SUBTOTAL_LIGHT
backgroundColor: three CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-THREE
backgroundColor: today CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-TODAY
backgroundColor: total CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-TOTAL
backgroundColor: transparent CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-TRANSPARENT
backgroundColor: two CL_WD_DATA_GRID_CELL=>E_BACKGROUND_COLOR-TWO

hierarchyLevel

HIERARCHY_LEVEL

I

hierarchyState

HIERARCHY_STATE

WDUI_C_TABLE_HIERACHICAL_STATE

hierarchyState: collapsed CL_WD_DATA_GRID_CELL=>E_HIERARCHY_STATE-COLLAPSED
hierarchyState: collapsedPlus CL_WD_DATA_GRID_CELL=>E_HIERARCHY_STATE-COLLAPSEDPLUS
hierarchyState: expanded CL_WD_DATA_GRID_CELL=>E_HIERARCHY_STATE-EXPANDED
hierarchyState: expandedMinus CL_WD_DATA_GRID_CELL=>E_HIERARCHY_STATE-EXPANDEDMINUS
hierarchyState: expandedTop CL_WD_DATA_GRID_CELL=>E_HIERARCHY_STATE-EXPANDEDTOP
hierarchyState: indent CL_WD_DATA_GRID_CELL=>E_HIERARCHY_STATE-INDENT
hierarchyState: leaf CL_WD_DATA_GRID_CELL=>E_HIERARCHY_STATE-LEAF
hierarchyState: marktotals CL_WD_DATA_GRID_CELL=>E_HIERARCHY_STATE-MARKTOTALS
hierarchyState: none CL_WD_DATA_GRID_CELL=>E_HIERARCHY_STATE-NONE

imageSource

IMAGE_SOURCE

STRING

isFiltered IS_FILTERED WDUI_FILTERSTATE
isFiltered: filtered CL_WD_DATA_GRID_CELL=>E_IS_FILTERED-FILTERED  
isFiltered: none CL_WD_DATA_GRID_CELL=>E_IS_FILTERED-NONE  
sortState SORT_STATE WDUI_TABLE_COL_SORT_DIR
sortState: down CL_WD_DATA_GRID_CELL=>E_SORT_STATE-DOWN  
sortState: none CL_WD_DATA_GRID_CELL=>E_SORT_STATE-NONE  
sortState: notSortable CL_WD_DATA_GRID_CELL=>E_SORT_STATE-NOT_SORTABLE  
sortState: up CL_WD_DATA_GRID_CELL=>E_SORT_STATE-UP  

templateKey

TEMPLATE_KEY

STRING

Dynamische Programmierung der Ereignisse

View Designer Name

Laufzeitname

onHierarchyChange

ON_HIERARCHY_CHANGE

Dynamische Programmierung der Aggregationen

View Designer Name

Laufzeitname

Kardinalität

CONTENT

CONTENT

1..1

DECORATORS

DECORATORS

0..n