Start of Content Area

Object documentation TableSingleMarkableCell API  Locate the document in its SAP Library structure

Definition

TableSingleMarkableCell allows you to identify a single cell.

Note

This cell type can only be used if the property selectionMode of the table is set to none.

Description of UI Element Properties

·        attributeToMark

Is bound to the context attribute of the TableColumn in which this TableSingleMarkableCell element resides.

·        cellDesign

Specifies the background color of the cell. The cellDesign property can be filled with the following values and is represented by the enumeration type WDTableCellDesign.

badvalue_dark

Dark background color that indicates a negative value.

badvalue_light

Light background color that indicates a negative value.

badvalue_medium

Medium background color that indicates a negative value. 

criticalvalue_dark

Dark background color that indicates a critical value.

criticalvalue_light

Light background color that indicates a critical value.

criticalvalue_medium

Medium background color that indicates a critical value.

goodvalue_dark

Dark background color that indicates a good value.

goodvalue_light

Light background color that indicates a good value.

goodvalue_medium

Medium background color that indicates a good value.

group_level1

Background color for cells of group level 1

group_level2

Background color for cells of group level 2

group_level3

Background color for cells of group level 3

key_medium

Medium background color for cells of key column

negative

Background color that indicates a negative value.

positive

Background color that indicates a positive value.

standard

Standard background color, the same for the entire row

one

Color of category one, depends on the respective design theme used.

two

Color of category two, depends on the respective design theme used.

three

Color of category three, depends on the respective design theme used.

four

Color of category four, depends on the respective design theme used.

·        hAlign

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 be filled with the following values:

beginOfLine

The text is always displayed at the beginning of line. Therefore, the text for value ltr of property textDirection is left-justified. The text for value rtl is right-justified.

center

Centered alignment.

char

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.

Note

The binding of the property markedData must be identical for all TableSingleMarkableCells of a table, independent of the column in which they occur. 

·        variantKey

Determines the key to be used to identify the TableSingleMarkableCell.

Overview of Inherited and Additional Properties

Name

Interface

Type

Initial Value

Bindable

Value Required

attributeToMark

IWDTableSingleMarkableCell

String

 

bindable_mandatory

No

cellDesign

IWDTableSingleMarkableCell

WDTableCellDesign

standard

bindable

No

hAlign

IWDAbstractTableCellVariant

WDTableColumnHAlign

auto

bindable

No

markedData

IWDTableSingleMarkableCell

IWDAttributePointer

 

bindable_mandatory

No

variantKey

IWDAbstractTableCellVariant

String

 

not_bindable

No

 

 

End of Content Area