DataGridSegment

Use

DataGridSegment uses aggregation TEMPLATES to holdDataGridCells, which you can use to define cell editors for the segment. The number of possible segments in a DataGrid is the sum of segment columns and rows. Use aggregation DataGridSegment to insert SEGMENTS into a DataGrid. Property dataSource, which you bind to a context node, contains the data for the DataGrid.

Implementation Details

Runtime class:

CL_WD_DATA_GRID_SEGMENT

Properties in View Designer

Name

Type

Initial Value

Bindable

id

STRING

(automatic)

No

colIndex

I

No

dataSource

Context-Knoten

Yes

rowIndex

I

No

selectedTemplateKey

STRING

Yes

Aggregations in the View Designer

Name

Cardinality

Type

TEMPLATES

0..n

DataGridCell

Dynamic Programming of Properties

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

colIndex

COL_INDEX

I

dataSource

DATA_SOURCE

OBJECT

rowIndex

ROW_INDEX

I

selectedTemplateKey

SELECTED_TEMPLATE

STRING

Dynamic Programming of Aggregations

View Designer Name

Runtime Name

Cardinality

TEMPLATES

TEMPLATES

0..n