GridData Properties
Properties in View Designer
- cellBackgroundDesign
Display of the cell background. The default value of this property is set to transparent. You can use the background colors fill1, fill2, and fill3 as separators between the individual semantically different cell contents.
Value Description transparent
The background is transparent. The individual cells are displayed without grid net lines.
fill1
The color corresponds to the value primary color of the design property of the Group UI element. *)
fill2
The color corresponds to the value secondary color of the design property of the Group UI element. *)
fill3
This color corresponds to the color value of the third level of a Tree UI element. *)
plain
White background
header
The color is identical with the color of the header area of a Tree UI element or a table.
border
This is the color of the cell borders. This value is used for nested grid layouts to create grid net lines.
*) The colors to be displayed depend on the respective design topic used.
- colSpan
Specifies the number of columns occupied by the UI element in the grid.
- dragData
You set this property for a dropped line so that this value appears as the event parameter data in the triggered onDrop event.
- height
Height of the UI element within the GridLayout cell. See also Methods and Properties.
- hAlign
Horizontal alignment of the content with the GridLayout cell.
Value Description center
Centered alignment
char
Alignment to a special character The assignment of the value char allows you to align the cell contents to a single character.
justify
Justified - This value allows forced justification within a grid layout cell.
forcedLeft
The text content is always left-justified, regardless of whether property textDirection is set to ltr or rtl.
endOfLine
The text is always displayed at the end of the line. Therefore, if property textDirection is set to ltr, the text content is right-justified. The text content for the value rtl is left-justified.
forcedRight
The text content is always right-justified, regardless of whether the value is ltr or rtl for the textDirection property.
beginOfLine
The text is always displayed at the beginning of the line. Therefore, the text content for value ltr of property textDirection is left-justified. The text content for the value rtl is right-justified.
- paddingBottom
Interval of the UI element to the lower edge of the GridLayout cell.
- paddingLeft
Left interval of the UI element to the GridLayout cell..
- paddingRight
Right interval of the UI element to the GridLayout cell..
- paddingTop
Interval of the UI element to the upper edge of the GridLayout cell.
- vAlign
Vertical alignment of the UI element within the GridLayout cell.
Value Description baseline
Alignment on a common base line so that the first text row is always displayed at the same height.
top
Top-aligned - alignment with top edge.
middle
Vertical alignment in the middle
bottom
Bottom padding - alignment with bottom edge
- semanticColor
Defines the background color of a UI element. You can use various background colors as separators between the individual semantically different UI elements.
You can find the valid values under WDUI_TABLE_CELL_DESIGN.
- width
Width of the UI element within the GridLayout cell. See also Methods and Properties.