Entering content frame

Background documentation TableColumn Properties Locate the document in its SAP Library structure

Properties in the View Designer

·        cellDesign

Display of the cell background.

You can use various background colors as separators between the individual semantically different cell contents.

Value

Visual Display

Description

badvalue_dark

This graphic is explained in the accompanying text

Display as negative with a dark color

badvalue_light

This graphic is explained in the accompanying text

Display as negative with a light color

badvalue_medium

This graphic is explained in the accompanying text

Display as negative with a medium-dark color

criticalvalue_dark

This graphic is explained in the accompanying text

Display as critical with a dark color

criticalvalue_light

This graphic is explained in the accompanying text

Display as critical with a light color

criticalvalue_medium

This graphic is explained in the accompanying text

Display as a critical with a medium-dark color

goodvalue_dark

This graphic is explained in the accompanying text

Display as positive with a dark color

goodvalue_light

This graphic is explained in the accompanying text

Display as positive with a light color

goodvalue_medium

This graphic is explained in the accompanying text

Display as a positive with a medium-dark color

group_level1

This graphic is explained in the accompanying text

Display as group level 1

group_level2

This graphic is explained in the accompanying text

Display as group level 2

group_level3

This graphic is explained in the accompanying text

Display as group level 3

key_medium

This graphic is explained in the accompanying text

Medium background color for cells of key column

negative

This graphic is explained in the accompanying text

Display as negative

positive

This graphic is explained in the accompanying text

Display as positive

standard

This graphic is explained in the accompanying text

Standard display without a background

·        filterValue

Value for the filter cell of the column.

If a value set is defined for the bound attribute, a DropDownByKey is displayed for this value, otherwise an input field is displayed. The filter row is displayed only if the onFilter event of the table is bound to an action. To trigger this event the user chooses the Enter pushbutton.

·        groupingValue

If rows in this column have the same groupingValue and are bound, they are displayed only in one cell. That means the TableCellEditor is displayed only once in the first row, and only one common cell border is shown. If this feature is used, the TableCellEditor should not be input-enabled. In the future this might be assured at runtime.

·        hAlign

Horizontal alignment of the cell content.

The alignment should be the same for each column, but can be overridden individually (by binding or the automatic mode in cell variants).

This property can be personalized by an administrator.

Value

Description

Can be set using personalization

auto

The alignment is determined by the data type of the primary property of the TableCellEditor.

Yes

center

Centered alignment

Yes

beginOfLine

The text content is always displayed at the beginning of 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.

Yes

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.

Yes

forcedLeft

The text content is always left-justified, regardless of whether the value is ltr or rtl for the textDirection property.

Yes

forcedRight

The text content is always right-justified, regardless of whether the value is ltr or rtl for the textDirection property.

Yes

·        isFiltered

 

·        resizable

This property is presently not supported.

·        selectedCellVariant

Determines the active table cell variants for a table cell. The variant whose variantKey matches the selectedCellVariant is used. If the value is set to initial, no cell variant is used, instead the properties of the table column itself and its TableCellEditor are used. An invalid selectedCellVariant is not allowed.

·        sortState

Describes how a table column is sorted. The sorting status is displayed only if the onSort event is bound to the table, otherwise all columns appear as non-sortable. The sorting status can be toggled by clicking on the sort icon in the column header (none  ®  up  ®  down  ®  none  ®  …). This action resets the sorting status of other sort-enabled columns in the table to none.

The data in the table is not automatically displayed sorted by the sortState property and the onSort event; the application itself must sort the data.

Value

Description

up

Sorted in ascending order

down

Sorted in descending order

none

Not sorted

notSortable

Cannot be sorted

·        width

Width of the table column The effective width is as big as specified here and as the actual cell content. When Table.fixedTableLayout=true is set, the column is precisely as big as specified. If no width is specified, the content determines the width.

We recommend you use the same CSS unit of measure for all columns. See also Legend.

This property can be personalized by an administrator.

 

 

Leaving content frame