TableColumn Properties

Properties in View Designer

  • cellDesign

    See WDUI_TABLE_CELL_DESIGN

  • colSelectionState

    Multiple selection of TableColumn (Test: WDR_TEST_TABLE → CELL_POPIN, and selected the required header). By pressing the CTRL key you can select additional table columns.

    Value

    Visualization

    Description

    notSelectable

    The table column cannot be selected

    notSelected

    The table column can be selected

    selected

    The table column is selected.

  • 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 Enter.

  • groupingValue

    When rows in this column with the same groupingValue are bound, they are displayed in one cell. This means the TableCellEditor is displayed only once on the height of the first row, and only one shared border is shown.

    If this feature is used, the TableCellEditor may not be input-enabled.

    In accessibility mode, the groupingValue is ignored and the table is displayed without this feature.

  • 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 administrators.

    Value

    Description

    Can be Set Using Personalization

    auto

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

    The alignment is normally to the left, but if it is a TextView or a read-only InputField with a number, the alignment is to the right.

    yes

    center

    Centered alignment

    yes

    beginOfLine

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

    yes

    endOfLine

    The text is always displayed at the end of the line. Therefore, if property textDirection is set to ltr, the text content is right-justified. The text content for value rtl is left-justified.

    yes

    forcedLeft

    The text content is always left-justified, regardless of whether property textDirection is set to ltr or rtl.

    yes

    forcedRight

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

    yes

  • isFiltered

    Determines whether a filter icon is displayed in the column heading. This indicates that the current table entries are filtered according to values in this TableColumn.

  • 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 Table.enabled = TRUE and the onSort event is bound to the table, otherwise all columns appear as non-sortable. The sort sequence is then changed when you click the sort icon in the column header (Start of the navigation pathnone Next navigation step up Next navigation step down Next navigation step none Next navigation step ...End of the navigation path). 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 Methods and Properties.

    This property can be personalized by an administrator.

    This property, which does not have to be bound, can be changed by the client. See Properties Used in MultiPane or TablePopin

    Note the special case with an InputField in a Table.

    For more information, see: SAP Note 1253282 Information published on SAP site