Show TOC

CellDecoratorLocate this document in the navigation structure

Use

CellDecorators are small icons that you can place in one of the four corners of a cell in DataGrid in order to select special details of the cell (e.g. comments). Use aggregation CellDecorator to insert DECORATORS into a DataGridCell.

Implementation Details

Runtime class:

CL_WD_CELL_DECORATOR

Properties in View Designer

Name

Type

Initial Value

Bindable

id

STRING

(automatic)

No

position

WDUI_CELL_DECORATOR_POSITION

none

Yes

Note

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

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.

Table 1:
View Designer Name Runtime Name Type

position

POSITION

WDUI_CELL_DECORATOR_POSITION

position: bottomLeft

CL_WD_CELL_DECORATOR=>E_POSITION-BOTTOM_LEFT

position: bottomRight

CL_WD_CELL_DECORATOR=>E_POSITION-BOTTOM_RIGHT

position: none

CL_WD_CELL_DECORATOR=>E_POSITION-NONE

position: topLeft

CL_WD_CELL_DECORATOR=>E_POSITION-TOP_LEFT

position: topRight

CL_WD_CELL_DECORATOR=>E_POSITION-TOP_RIGHT