Entering content frame

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

Properties in the View Designer

     accessibilityDescription

Once you have activated accessibility, the assigned text is added to the quick info.This description provides semantic details of the UI element and is only read by the screen reader if the user focuses the complete Ul element.

     dataSource

Context node with data for the table
Primary Property

     design

Display of tables.

Value

Visual Display

Description

alternating

This graphic is explained in the accompanying text

White/grey alternative rows, only possible with readOnly

standard

This graphic is explained in the accompanying text

Standard table background has one color. The individual cells are displayed with grid net lines.

transparent

This graphic is explained in the accompanying text

The table background is transparent. The individual cells are displayed without grid net lines.

     emptyTableText

Text displayed for an empty table.

     firstActualRow

Row of the table (counted from 0) that corresponds to the first element in the context.This property is used if you want the context to contain only one pane from the table. See Context Paging

Use this property only for tables with extremely large data volumes.

Note

This is not permitted for TreeByKeyTableColumn and TreeByNestingTableColumn.

     firstVisibleRow

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

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 value however is not written back to the UI element.If the row is actually available in the data records, but the following data records are not sufficient to fill all the rows, empty rows are displayed for the missing data records.  The first visible row is not corrected in this case.

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

     firstVisibleScrollableCol

First visible scrollable column of the table (ViewElement ID)

Note

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

     fixedTableLayout

With fixedTableLayout each table column is precisely as wide as specified.If the content is larger it is cut off on the right. Without fixedTableLayout a column is as wide as specified or as wide as the widest TableCellEditor.

Note

If you use scrollableColCount=-2, fixedTableLayout should be set.

     footerVisible

The footer area is visible with table paginators.

Note

If footerVisible is switched on, but visibleRowCount = -1 and scrollableColCount = -1, still no footer area is displayed.

     gridMode

Grid mode.

Value

Description

both

Horizontal and vertical lines are displayed

horizontal

Horizontal lines are displayed

none

The table has no grid lines

vertical

Vertical lines are displayed

     legendId

ID of the assigned Legend

     readOnly

The table differentiates between editable mode and read-only mode. In the editable 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 enabled is, the TableCellEditor in this table is input-enabled and is not readOnly.

In readOnly mode all cells are not input-enabled. But they are not grayed-out. You can also use semantic colors (TableColumn.cellDesign) and  an alternating background (Table.design=alternating).

InputFields, DropDownByIndex and DropDownByKey are displayed as text.No value list is provided.

CheckBox and RadioButton are readOnly.

     rowCount

Number of rows displayed in the table (for context paging only).

     rowSelectable

Specifies whether a row can be selected. This property must be bound to an attribute of dataSource.

     scrollableColCount

Number of scrollable columns that can be displayed at the same time.

     selectedPopin

TablePopin currently visible.
ID of the popin visible for the row. This is either the ID of the table popin or the column popinLeave this property empty if you do not want to display a popin.

     selectionChangeBehaviour

The lead selection in the context can be toggled by the user either automatically or manually, that is, by the application itself.

Value

Description

auto

Lead selection is toggled automatically

manual

Lead selection is not toggled automatically

ifNoLoss

 

     selectionMode

Specifies how selections are made in the table.

If you click on a selection cell, a row is selected. The lead selection (except with singleNoLead and multiNoLead) is set to the associated element.If other selections exist, they are deleted.

In modes, multi, multiNoLead and auto with node cardinality 0..n or 1..n, the following is possible:

     CTRL+click, CTRL+spacebar

Toggles a selection.

     SHIFT+click, CTRL+shift  

Selects the area from the lead selection to the row selected. If no lead selection is set, the selection starts from the first row. In the multiNoLead mode, the selection starts from the row last selected

Value

Description

auto

Lead selection and single selection or multi-selection, if the context node permits this

single

Lead selection and single selection

multi

Lead selection and multiple selection

none

No selection

singleNoLead

Single selection (without lead selection)

multiNoLead

Multiple selection (without lead selection)

     visibleRowCount

Number of rows visible at once in the table. With -1 all rows from the dataSource are displayed at once and no paginator is displayed. If the number of rows in the dataSource is smaller than the visibleRowCount, the table is filled with empty rows. These rows are not input-enabled.

     width

Width of the table The table is at least as big as the specification here, at any rate big enough that the content fits in the table. For this reason we recommend you specify a width only if a percentage value is used for the column width.

 

 

Leaving content frame