CTable Properties

Use

  • activateAccessKey

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

    Both users and administrators can personalize this property.

  • cellStyleClassNames

    Similar to property styleClassName with this property you can create your own style definitions for UI elements to change the appearance of a table cell. To do this, you use the view element CTableStandardCell (C_TABLE_STANDARD_CELL). You define the cell using parameters ROW_ID and COLUMN_ID. For more information about styleClassName, see UIElement Properties.

    You can find an application example in the system in component WDR_TEST_CUSTOM_STYLES.

  • columnHeaderDropInfo

    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 CTable.

  • dataSource

    Context node with the table data.

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

  • emptyTableText

    Text displayed for an empty table

    This property can be personalized by administrators.

  • firstVisibleRow

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

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

  • gridMode

    Displays grid lines in the table

    In the CTable GRID_MODE functions independently of DESIGN and READONLY.

    This property can be personalized by administrators.

    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

  • headerRowHeight

    Specifies the height of the row with column headers

    This property can be personalized by administrators.

    CTable Header Row Height
  • heightMode

    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.

  • navigationMode

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

    This property can be personalized by administrators.

  • personalizationMode

    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.

  • personalizationMode

    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 mode all cells are not 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.

  • rowDragInfo

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

    For more information, see Drag&Drop in CTable.

  • rowDropInfo

    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 CTable.

  • rowEdgeDropInfo

    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 CTable.

  • rowHeight

    Height of a row (in pixels)

    This property can be personalized by administrators.

  • rowSelectable

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

  • scrollbarVisibility

    Determines whether the scrollbar is always visible, or only if the cursor is hovering on it.

  • selectionColumnDesign

    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.

  • selectionMode

    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

  • tableBodyDropInfo

    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 CTable.

  • textMarkers

    Specifies which cell contents are highlighted in color (for instance, to highlight search results).

  • transparencyMode

    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.