DataGridCell

Use

With DataGridCell you can define the cells of a segment in DataGrid. DataGridCell provides different visualization options for segment cells. A cell editor must be specified for each DataGridCell, which determines how the cell content is visualized. Use aggregation DataGridCell to insert TEMPLATES into a DataGridSegment. At least one DataGridSegment must be defined for each DataGridCell.

Implementation Details

Runtime class:

CL_WD_DATA_GRID_CELL

Properties in View Designer

Name

Type

Initial Value

Bindable

id

STRING

(automatic)

No

backgroundColor WDUI_TABLE_CELL_DESIGN standard Yes

hierarchyLevel

I

0

Yes

hierarchyState

WDUI_C_TABLE_HIERACHICAL_STATE

none

Yes

imageSource

STRING

Yes

isFiltered WDUI_FILTERSTATE none Yes
sortState WDUI_TABLE_COL_SORT_DIR none Yes

templateKey

STRING

No

Aggregations in the View Designer

Name

Cardinality

Type

CONTENT

1..1

ClientElement

DECORATORS

0..n

CellDecorator

Events in 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.

View Designer Name Runtime Name Type
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

Dynamic Programming of Events

View Designer Name

Runtime Name

onHierarchyChange

ON_HIERARCHY_CHANGE

Dynamic Programming of Aggregations

View Designer Name

Runtime Name

Cardinality

CONTENT

CONTENT

1..1

DECORATORS

DECORATORS

0..n