CProgressIndicator

The CProgressIndicator UI element is a cell editor for the DataGrid. It shows how much progress an activity has made in the form of a horizontal bar, along with the value that you have assigned to the percentValue property.

Use aggregation CONTENT to insert this UI element into a DataGridCell.

Implementation Details

Runtime class:

CL_WD_C_PROGRESS_INDICATOR

Properties in View Designer

Name

Type

Initial Value

Bindable

id

STRING

(automatic)

No

barColor WDUI_PROG_IND_BAR_COL neutral Yes
displayValue STRING Yes
percentValue I 0 Yes
showValue WDY_BOOLEAN true Yes

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

barColor

BAR_COLOR

WDUI_PROG_IND_BAR_COL
barColor: critical CL_WD_C_PROGRESS_INDICATOR=>E_BAR_COLOR-CRITICAL
barColor: negative CL_WD_C_PROGRESS_INDICATOR=>E_BAR_COLOR-NEGATIVE
barColor: neutral CL_WD_C_PROGRESS_INDICATOR=>E_BAR_COLOR-NEUTRAL
barColor: positive CL_WD_C_PROGRESS_INDICATOR=>E_BAR_COLOR-POSITIVE
displayValue

DISPLAY_VALUE

STRING

percentValue PERCENT_VALUE I
showValue SHOW_VALUE WDY_BOOLEAN