TableSingleMarkableCell allows you to identify a single cell. For the TableSingleMarkableCell, the following cell editors can be used: Image, TextView, DropDownByIndex, DropDownByKey, LinkToAction and LinkToURL.
This cell type can only be used if the property selectionMode of the table is set to none.
● attributeToMark
This is bound to the context attribute of the TableColumn in which this TableSingleMarkableCell element is located.
● cellDesign
This specifies the color of the LegendItem. The cellDesignproperty 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 cell. The default value of this property is beginOfLine. The hAlign property is represented by the enumeration type WDCellHAlign and can have the following values:
beginOfLine |
The text is always displayed at the beginning of the line. Therefore, the text for value ltr of property textDirection is left-justified. The text for value rtl is right-justified. |
center |
Center alignment. |
char |
This specifies the alignment using a specific character. Assigning value char allows you to align the cell contents to a single character. |
endOfLine |
The text is always displayed at the end of the line. Therefore, the text for value ltr of property textDirection is right-justified. The text for value rtl is left-justified. |
forcedLeft |
The text is always left-justified, regardless of whether the value is ltr or rtl for property textDirection. |
forcedRight |
The text is always right-justified, regardless of whether the value is ltr or rtl for property textDirection. |
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. |
● markedData
The x and y coordinates of the cell can be determined using the markedData property. They allow you to uniquely identify a cell.
The binding of the property markedData must be identical for all TableSingleMarkableCells of a table, irrespective of the column in which they occur.
● variantKey
This determines the key to be used to identify the TableSingleMarkableCell.
More information: Common UI Element Properties
Name |
Interface |
Type |
Initial Value |
Bindable |
attributeToMark |
IWDTableSingleMarkableCell |
String |
|
bindable_mandatory |
cellDesign |
IWDTableSingleMarkableCell |
WDTableCellDesign |
standard |
bindable |
hAlign |
IWDAbstractTableCellVariant |
WDTableColumnHAlign |
auto |
bindable |
markedData |
IWDTableSingleMarkableCell |
IWDAttributePointer |
|
bindable_mandatory |
variantKey |
IWDAbstractTableCellVariant |
String |
|
not_bindable |