TablePopinToggleCell
Definition
The TablePopinToggleCell is inserted as a cell variant in the first column of a table and enables the user to open and close a TablePopin as an enhancement of a table row by selecting the row.
Description of Properties
- cellDesign
Specifies the color of the LegendItem. The cellDesignproperty is represented by enumeration type WDTableCellDesign. The enumeration values are described in: WDTableCellDesign
- hAlign
Determines the horizontal alignment of the UI element in the grid layout cell. The default value of this property is beginOfLine. The hAlignproperty is represented by the enumeration type WDCellHAlign and can be filled with the following values:
beginOfLine
The text content is always displayed at the beginning of line. Therefore, the text content for the value ltr of thetextDirection property is left-justified. The text content for the valuertl is right-justified.
center
Centered alignment.
char
Specifies the alignment using a specific character. The assignment of the char value allows you to align the cell contents to a single character.
endOfLine
The text content is always displayed at the end of the line. Therefore, the text content for the value ltr of the textDirection property is right-justified. The text content for the value rtl is left-justified.
forcedLeft
The text content is always left-justified, regardless of whether the value is ltr or rtl for the textDirection property.
forcedRight
The text content is always right-justified, regardless of whether the value is ltr orrtl for the textDirection property.
justify
Justified - This value allows forced justification within a grid layout cell.
left
Left-justified alignment. This value is deprecated. Use beginOfLine instead.
right
Right-justified alignment. This value is deprecated. Use forcedRight instead.
- variantKey
Determines the key to be used to identify the TablePopinToggleCell.
See also: Common UI Element Properties
Properties Overview
| Name | Interface | Type | Initial Value | Bindable |
|---|---|---|---|---|
|
cellDesign |
IWDTablePopinToggleCell |
WDTableCellDesign |
standard |
bindable |
|
hAlign |
IWDAbstractTableCellVariant |
WDTableColumnHAlign |
auto |
bindable |
|
variantKey |
IWDAbstractTableCellVariant |
String |
|
not_bindable |
Event
- onToggle (boolean expanded)
The onToggle event is triggered when the user clicks the TablePopinToggleCell. The parameter expanded is the new status.