Show TOC

Background documentationCTable Properties Locate this document in the navigation structure

 

  • ACTIVATE_ACCESS_KEY

    Activation of access keys. For more information, see Access Keys.

    Both users and administrators can personalize this property.

  • COLUMN_HEADER_DROP_INFO

    Name or ID of the DropTargetInfo, which is active if a DragSource is dropped on the header area between columns. It can be overwritten in columns with COLUMN_DROP_INFO.

    For more information, see Drag & Drop in the CTable.

  • DATASOURCE

    Context node with the table data.

    Each element of the context node corresponds to a table row.

  • DROP_ON_ROW_NAME

    Name of the DropTargetInfo that defines how data is dropped on to table rows.

    If the value is set to initial, it is not possible to drop data onto a row. If the value is the name of a DropTargetInfo, then this DropTargetInfo defines the behavior of the table row as a drop target. In this way context binding enables a different DropTargetInfo to be specified for each row.

    For more information, see Drag and Drop.

  • EMPTY_TABLE_TEXT

    Text displayed for an empty table

    This property can be personalized by administrators.

  • FIRST_VISIBLE_ROW

    First visible row of the table (counted from 1).

    Note Note

    If the firstVisibleRow lies outside of the existing data records, then the first visible row is recalculated internally so that as many rows as possible are visible at the end of the data set. The calculated value however is not written back to the UI element. If the row exists in the database, but the subsequent data records are not sufficient to fill up all the rows, the first visible row is recalculated so that it will lie in the visible area.

    End of the note.

    This property, which does not have to be bound, can be changed by the client.

  • GRID_MODE

    Displays grid lines in the table

    In the CTable GRID_MODE functions independently of DESIGN and READONLY.

    This property can be personalized by administrators.

    Values of GRID_MODE property

    Value

    Description

    Can be Set Using Personalization

    both

    Displays horizontal and vertical lines

    Yes

    horizontal

    Displays horizontal lines

    Yes

    none

    No lines are displayed

    Yes

    vertical

    Displays vertical lines

    Yes

  • HEADER_ROW_HEIGHT

    Specifies the height of the row with column headers

    This property can be personalized by administrators.

    This graphic is explained in the accompanying text.

    CTable Header Row Height

  • HEIGHT_MODE

    Specifies whether the height of the table is to be set in VISIBLE_ROW_COUNT, whether the maximum available height is to be used, and whether all the rows are to be displayed.

    Value

    Description

    Can be Set Using Personalization

    allRows

    Displays all rows (previously -1)

    Yes

    useAvailableHeight

    Uses the available height

    Yes

    useVisibleRowCount

    The value from VISIBLE_ROW_COUNT is used. The table can be stretched in size vertically.

    Yes

    useVisibleRowCountNoResize

    The value from VISIBLE_ROW_COUNT is used.

    Yes

    This property can be personalized by administrators.

  • NAVIGATION_MODE

    Controls navigation in the table - scrollbar or pager; possible values: scrollbar and pager

    This property can be personalized by administrators.

  • PERSONALIZATION_MODE

    Specifies whether personalization is done by the framework (implicit personalization) or by the application; personalization refers here to column widths, number of rows, order of columns; possible values for personalizationMode are: application and framework

    For more information, see Personalization.

  • READ_ONLY

    The table differentiates between edit mode and readOnly mode. In the edit mode (readOnly=false) input-enabled cells are shown with white a background, and cells not input-enabled are shown with a grayed-out background. Cells are input-enabled when the table is enabled, the TableCellEditor in this table is input-enabled and is not readOnly. UI elements InputField, DropDownByIndex and DropDownByKey are displayed as text. No value list is provided.

    In readOnly no cells are input-enabled. They are displayed with a white background, and not hidden.

    With UI elements that have property displayOnly (CheckBox, TriStateCheckBox und RadioButton), this property is set in addition.

    This property can be personalized by administrators. In personalization, this property can be assigned the value: true.

  • ROW_DRAG_INFO

    ID of the DragSourceInfo, which is valid for the dragged row.

    For more information, see Drag & Drop in the CTable.

  • ROW_DROP_INFO

    Name or ID of the DropTargetInfo, which is valid for dropping on to a row; this can be controlled indiviudally in the context of each row.

    For more information, see Drag & Drop in the CTable.

  • ROW_EDGE_DROP_INFO

    Name or ID of the DropTargetInfo, which is valid for dropping before or after a row; this can be controlled indiviudally in the context of each row.

    For more information, see Drag & Drop in the CTable.

  • ROW_HEIGHT

    Height of a row (in pixels)

    This property can be personalized by administrators.

  • ROW_SELECTABLE

    The rowSelectable property enables you to make specific table rows selectable or non-selectable.

  • SELECTION_COLUMN_DESIGN

    You can use this option to influence the behavior and appearance of a selectable Web Dynpro ABAP table. If selectionColumnDesign=none, selection is possibly only by clicking in the table cells. This is not possible, however, if you click an editable or clickable cell editor such as InputField or Button. For this reason, we recommend that you use this feature only for readOnly tables.

    Possible values are:default and none

    This property can be personalized by administrators.

  • SELECTION_MODE

    Specifies how selections are made in the table. A row is selected by a left mouse click on a selection row. This means a selection (except for none) is made on the related element. If other selections exist, they are deleted.

    There are the following modes for the client table:

    • none: no selection

    • singleNoLead: single selection

    • multiNoLead: multiple selection

    In mode multi the following is possible:

    • Multiple selection, toggle selection:

      CTRL+click, CTRL+spacebar

    • Area selection:

      SHIFT+Click, SHIFT+Space

  • TABLE_BODY_DROP_INFO

    Name or ID of the DropTargetInfo, which is valid for dropping between all rows; this can be overwritten by ROW_EDGE_DROP_INFO.

    For more information, see Drag & Drop in the CTable.

  • TRANSPARENCY_MODE

    Specifies if cells are to be transparent in a table, and if so which.

    Value

    Graphical display

    Description

    cellDesignStandard

    All cells that have set cell design standard or transparent and all empty lines are displayed transparent.

    cellDesignTransparent

    All cells that have set cell design transparent and all empty lines are displayed transparent.

    none

    No cells are displayed transparent.

  • VISIBLEROWCOUNT

    Number of rows visible at once in the Table. This property can be personalized with a slider at runtime. It is dependent on property HEIGHT_MODE .

    Both users and administrators can personalize this property.

  • WIDTH

    Width of the Table in px, em, ex, %

    This property can be personalized by administrators.

    Note Note

    • If the column width of one column is specified as a percentage, horizontal scrolling is not possible. If the width of all columns is specified as a percentage, horizontal scrolling is possible. The sum of all width specifications should not be more than 100%.

    • If you want to define the column width in different units, make sure that you first define the widths of columns you want to define in pixels, and then distribute the remaining table width as a percentage to the other columns.

    • The table is not "pushed", that is, if the sum of the column widths is larger than the width of the table, no horizontal scrollbar is displayed.

    End of the note.

    Caution Caution

    The behavior of the CTable is undefined if the sum of the percentages of the columns is less than 100%.

    End of the caution.