A TableStandardCellallows you to select a cell editor different from the one defined for the TableColumn.
● cellDesign
This specifies the color of the table cell. The cellDesign property is represented by enumeration type WDTableCellDesign.
The enumeration values are described in: WDTableCellDesign
● hAlign
This specifies the horizontal alignment of the UI element in the grid layout cell. The default value of this property is beginOfLine. The hAlign property is represented by enumeration type WDCellHAlign and can have the following values:
beginOfLine |
The text content is always displayed at the beginning of the line. Therefore, the text content for the value ltr of the textDirection property is left-justified. The text content for the value rtl is right-justified. |
center |
Center alignment. |
char |
This 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 or rtl 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
This determines the key to be used to identify the TableStandardCell.
More information: Common UI Element Properties
Name |
Interface |
Type |
Initial Value |
Bindable |
cellDesign |
IWDTableStandardCell |
WDTableCellDesign |
standard |
bindable |
hAlign |
IWDAbstractTableCellVariant |
WDTableColumnHAlign |
auto |
bindable |
variantKey |
IWDAbstractTableCellVariant |
String |
|
not_bindable |