
The CTextView is a cell editor for the DataGrid. It enables text to be displayed within a DataGridCell.
Use aggregation CONTENT to insert this UI element into a DataGridCell.
More information: Cell editors in the DataGrid
Implementation Details
|
Runtime class: |
CL_WD_CLIENT_TEXT_VIEW |
Properties in View Designer
|
Name |
Type |
Initial Value |
Bindable |
|---|---|---|---|
|
STRING |
(automatic) |
No |
|
|
WDUI_INPUT_FIELD_ALIGNMENT |
auto |
Yes |
|
|
Translatable text |
|
Yes |
|
| tooltip | Translatable text | Yes |
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.
|
View Designer Name |
Runtime Name |
Type |
|---|---|---|
|
H_ALIGN |
WDUI_INPUT_FIELD_ALIGNMENT |
|
|
hAlign: auto |
CL_WD_CLIENT_TEXT_VIEW=>E_H_ALIGN-AUTO |
|
|
hAlign: beginOfLine |
CL_WD_CLIENT_TEXT_VIEW=>E_H_ALIGN-BEGIN_OF_LINE |
|
|
hAlign: center |
CL_WD_CLIENT_TEXT_VIEW=>E_H_ALIGN-CENTER |
|
|
hAlign: endOfLine |
CL_WD_CLIENT_TEXT_VIEW=>E_H_ALIGN-END_OF_LINE |
|
|
hAlign: forcedLeft |
CL_WD_CLIENT_TEXT_VIEW=>E_H_ALIGN-FORCED_LEFT |
|
|
hAlign: forcedRight |
CL_WD_CLIENT_TEXT_VIEW=>E_H_ALIGN-FORCED_RIGHT |
|
|
TEXT |
WDY_MD_TRANSLATABLE_TEXT |
|
| tooltip | TOOLTIP | WDY_MD_TRANSLATABLE_TEXT |