DataGridSegmentCol
Use
With DataGridSegmentCol you define the properties that relate to all segments within a segment column (e.g. width of the segments). With property columnDataSource you define the number and proprties of the columns within a segment (e.g. column width). You use aggregation DataGridSegmentCol to insert SEGMENT_COLS into a DataGrid. The number of DataGridSegmentCols defines how many segments are arranged next to each other.
Implementation Details
|
Runtime class: |
CL_WD_DATA_GRID_SEGMENT_COL |
Properties in View Designer
|
Name |
Type |
Initial Value |
Bindable |
|---|---|---|---|
|
STRING |
(automatic) |
No |
|
|
Context-Knoten |
Mandatory |
||
| columnType | WDUI_DATA_GRID_COLUMN_TYPE | standard | Yes |
|
F |
Yes |
||
|
WDUI_CSS_UNIT |
px |
No |
|
|
I |
1 |
Yes |
|
|
STRING |
200PX |
Yes |
|
|
WDUI_DG_SEGMENT_SIZE_MODE |
scrollbar |
Yes |
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 |
|---|---|---|
|
COLUMN_DATA_SOURCE |
OBJECT |
|
| columnType | COLUMN_TYPE | WDUI_DATA_GRID_COLUMN_TYPE |
| columnType: header | CL_WD_DATA_GRID_SEGMENT_COL=>E_COLUMN_TYPE-HEADER | |
| columnType: standard | CL_WD_DATA_GRID_SEGMENT_COL=>E_COLUMN_TYPE-STANDARD | |
|
COLUMN_WIDTH |
F |
|
|
COLUMN_WIDTH_UNIT |
WDUI_CSS_UNIT |
|
|
columnWidthUnit: em |
CL_WD_DATA_GRID_SEGMENT_COL=>E_COLUMN_WIDTH_UNIT-EM |
|
|
columnWidthUnit: ex |
CL_WD_DATA_GRID_SEGMENT_COL=>E_COLUMN_WIDTH_UNIT-E X |
|
|
columnWidthUnit: % |
CL_WD_DATA_GRID_SEGMENT_COL=>E_COLUMN_WIDTH_UNIT-PERCENT |
|
|
columnWidthUnit: px |
CL_WD_DATA_GRID_SEGMENT_COL=>E_COLUMN_WIDTH_UNIT-PX |
|
|
FIRST_VISIBLE_COL_INDEX |
I |
|
|
SEGMENT_WIDTH |
STRING |
|
|
SEGMENT_WIDTH_MODE |
WDUI_DG_SEGMENT_SIZE_MODE |
|
|
segmentWidthMode: scrollbar |
CL_WD_DATA_GRID_SEGMENT_COL=>E_SEGMENT_WIDTH_MODE-SCROLLBAR |
|
|
segmentWidthMode: sumOfChildElements |
CL_WD_DATA_GRID_SEGMENT_COL=>E_SEGMENT_WIDTH_MODE-SUM_OF_CHILD_ELEMENTS |