Show TOC

DataGridSegmentRowLocate this document in the navigation structure

Use

With DataGridSegmentRow you define the properties that relate to all segments within a segment row (e.g. height of the segments). With property rowDataSource you define the number and proprties of the rows within a segment (e.g. row height). You use aggregation DataGridSegmentRow to insert SEGMENT_COLS into a DataGrid. The number of DataGridSegmentRows defines how many segments are arranged above one another within a DataGrid.

Implementation Details

Runtime class:

CL_WD_DATA_GRID_SEGMENT_ROW

Properties in View Designer

Name

Type

Initial Value

Bindable

id

STRING

(automatic)

No

firstVisibleRowIndex

I

No

rowDataSource

Context-Knoten

200PX

Mandatory

rowHeight

F

Yes

rowHeightUnit

WDUI_CSS_UNIT

px

No

rowType WDUI_DATA_GRID_ROW_TYPE standard Yes

segmentHeight

STRING

200PX

No

segmentHeightMode

WDUI_DG_SEGMENT_SIZE_MODE

scrollbar

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

firstVisibleRowIndex

FIRST_VISIBLE_ROW_INDEX

I

rowDataSource

ROW_DATA_SOURCE

OBJECT

rowHeight

ROW_HEIGHT

F

rowHeightUnit

ROW_HEIGHT_UNIT

WDUI_CSS_UNIT

rowHeightUnit: em

CL_WD_DATA_GRID_SEGMENT_ROW=>E_ROW_HEIGHT_UNIT-EM

rowHeightUnit: ex

CL_WD_DATA_GRID_SEGMENT_ROW=>E_ROW_HEIGHT_UNIT-EX

rowHeightUnit: %

CL_WD_DATA_GRID_SEGMENT_ROW=>E_ROW_HEIGHT_UNIT-PERCENT

rowHeightUnit: px

CL_WD_DATA_GRID_SEGMENT_ROW=>E_ROW_HEIGHT_UNIT-PX

rowType ROW_TYPE WDUI_DATA_GRID_ROW_TYPE
rowType: header CL_WD_DATA_GRID_SEGMENT_ROW=>E_ROW_TYPE-HEADER
rowType: standard CL_WD_DATA_GRID_SEGMENT_ROW=>E_ROW_TYPE-STANDARD

segmentHeight

SEGMENT_HEIGHT

STRING

segmentHeightMode

SEGMENT_HEIGHT_MODE

WDUI_DG_SEGMENT_SIZE_MODE

segmentHeightMode: scrollbar

CL_WD_DATA_GRID_SEGMENT_ROW=>E_SEGMENT_HEIGHT_MODE-SCROLLBAR

segmentHeightMode: sumOfChildElements

CL_WD_DATA_GRID_SEGMENT_ROW=>E_SEGMENT_HEIGHT_MODE-SUM_OF_CHILD_ELEMENTS