CInputField

Use

The CInputField is a cell editor for the DataGrid. It allows the user to edit a single-line text within a DataGridCell.

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

Implementation Details

Runtime class:

CL_WD_CLIENT_INPUT_FIELD

Properties in View Designer

Name

Type

Initial Value

Bindable

id

STRING

(automatic)

No

hAlign WDUI_INPUT_FIELD_ALIGNMENT auto Yes
tooltip Translatable text Yes

value

Translatable text

Yes

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

hAlign H_ALIGN WDUI_INPUT_FIELD_ALIGNMENT
hAlign: auto CL_WD_C_INPUT_FIELD=>E_H_ALIGN-AUTO
hAlign: beginOfLine CL_WD_C_INPUT_FIELD=>E_H_ALIGN-BEGIN_OF_LINE
hAlign: center CL_WD_C_INPUT_FIELD=>E_H_ALIGN-CENTER
hAlign: endOfLine CL_WD_C_INPUT_FIELD=>E_H_ALIGN-END_OF_LINE
hAlign: forcedLeft CL_WD_C_INPUT_FIELD=>E_H_ALIGN-FORCED_LEFT
hAlign: forcedRight CL_WD_C_INPUT_FIELD=>E_H_ALIGN-FORCED_RIGHT
tooltip TOOLTIP WDY_MD_TRANSLATABLE_TEXT

value

VALUE

WDY_MD_TRANSLATABLE_TEXT

View Designer Name

Runtime Name

onEnter

ON_ENTER

onTablePaste

ON_TABLE_PASTE