
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 |
|---|---|---|---|
|
STRING |
(automatic) |
No |
|
|
I |
|
No |
|
|
Context-Knoten |
200PX |
Mandatory |
|
|
F |
|
Yes |
|
|
WDUI_CSS_UNIT |
px |
No |
|
| rowType | WDUI_DATA_GRID_ROW_TYPE | standard | Yes |
|
STRING |
200PX |
No |
|
|
WDUI_DG_SEGMENT_SIZE_MODE |
scrollbar |
Yes |
Other properties that can be inherited are defined in the related higher-level classes. The related UI elements are:
Dynamic Programming
| View Designer Name | Runtime Name | Type |
|---|---|---|
| FIRST_VISIBLE_ROW_INDEX |
I |
|
| ROW_DATA_SOURCE |
OBJECT |
|
| ROW_HEIGHT |
F |
|
| 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 | |
| SEGMENT_HEIGHT |
STRING |
|
| 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 |
|