Show TOC

Background documentationConfigure Table View Task Panel Locate this document in the navigation structure

 

The Configure Table View task panel enables you to define attributes for a table view. A table view is used to view output data and/or to edit data in a tabular format at runtime.

The following table describes the properties and attributes of this model element:

Group

Property

Description

General

Title

The title of the table view, to be displayed at the top of the table.

You can either enter a title in the field, or click the browse button to open the Edit Title dialog box and specify a title using a dynamic expression.

More information: Edit Title Dialog Box

Show title

Defines whether the table view title bar is displayed at the top of the table.

Show toolbar

Defines whether to add a toolbar to the table view.

Toolbar

If a toolbar is added to the table view, defines whether it is located at the Top or Bottom of the table.

Control buttons

Adds toolbar buttons that enable the runtime user to add and remove rows from the table.

Selectable

Indicates whether users can select table rows at runtime.

You can select or deselect the checkbox to specify whether the table view is selectable or not, or click the fx button to define the expression that specifies under which condition the table view is selectable at runtime.

Editable

Indicates whether users can enter data into the table and change displayed data at runtime.

If the table view is editable, you can still make specific controls in the view read-only.

You can select or deselect the checkbox to specify whether the table view is editable, or click the fx button to define the expression that specifies under which condition the table view is editable at runtime.

Visible

Indicates whether the table view is hidden or displayed at runtime.

You can select or deselect the checkbox to specify whether the table view is hidden or visible, or click the fx button to define the expression that specifies under which condition the table view is displayed or hidden at runtime.

Frame style

The color scheme used for the top border and content frame at runtime. The following options are available:

  • Primary: Top border in standard color and content frame in white.

  • White: Top border and content frame in white.

  • Neutral color: Top border and content frame in lighter color.

  • Dark color: Top border and content frame in darker color.

  • No frame: Top border and content frame do not have a specific color scheme (the default window color is used).

Scale mode

Defines how to scale the table and its contents. The following options are available:

  • Fixed width: Displays the columns of the table according to their defined widths. If the table is wider than the parent container, horizontal scroll bars are added.

  • Auto-fit: Changes the width of the columns in the table to fit all the columns within the width of the parent container.

Note Note

The Scale mode setting of the parent container, for example the window or panel in which the table view is located, affects the resizing of the views that it contains, as follows:

  • If the parent Scale mode is set to Auto-fit, then any views in the container are automatically set to Auto-fit, regardless of their individual settings.

  • If the parent Scale mode is set to Fixed scale, then any views in the container are sized according to their individual settings.

End of the note.

Table colors

The color scheme for the table rows. The following options are available:

  • Same color: The background color of all rows is white.

  • Alternating colors: The background color of rows is alternated between colored and white.

  • Transparent: The background color of all rows is colored.

Table rows

Displays the number of rows to be displayed per page of the table at runtime. Change this number by dragging the table border handles on the Layout board to increase or decrease the number of rows.

Keep selected row

Defines whether, when a row is selected in the runtime table and the table is refreshed with new data, the focus remains on the selected row. Clear this checkbox to specify that the focus should move to the first row of the table.

Multi-selection

Defines whether runtime users can select multiple rows in the table.

Header row

Defines whether the header row of the table (the column headings) is displayed for the table view.

List Viewer Configuration

Note Note

The properties in this group all control the runtime capabilities of the SAP List Viewer, which provides additional functionality and customization for tables at runtime. For more information about the runtime capabilities of the SAP List Viewer, see SAP List Viewer for Web Dynpro for Java.

End of the note.

Print

Displays the Print Version button on the table at runtime, which enables the runtime user to print the table and its data to Adobe Acrobat format (PDF).

Export

Displays the Export button on the table at runtime, which enables the runtime user to export the table data to a spreadsheet-compatible format.

Filter

Displays the Filter button on the table at runtime, which enables the runtime user to filter the table data in any way required.

Settings

Displays the Settings button on the table at runtime, which enables the runtime user to open the Settings dialog box in which they can specify personalized display settings for the table and its data.

If you choose to display this option, you can then choose which areas to display in the Settings dialog box at runtime. You can choose one or more of the following areas:

Column selection: Enables the runtime user to specify which columns should be displayed in the table, and the order of the columns.

Sort sequence: Enables the runtime user to define how the table data should be sorted (by which column(s)) and the direction of the sort.

Calculation: Enables the runtime user to perform different calculations on the table data and specify how the calculations should be displayed.

Views: Enables the runtime user to save different personalized views of the table data and display them as required.

Grouping

Enables the runtime user to group table data according to a specific control.

Group by

Specifies the control by which data should be grouped by default. The runtime user can change the grouping as required.

This option is available only if the Grouping checkbox is selected.

Display type

Enables the runtime user to choose whether to display the data in table or graphical format, or both. It also enables the runtime user to define the chart type and chart properties to be used for the graphical format (in the Display tab of the Settings dialog box).

Show calculations at top

Specifies whether calculations are displayed in a row at the top of the table or the bottom of the table.

Scrollable cols

Defines the number of scrollable columns to be displayed at one time at runtime. The number of displayed columns is in addition to the number of fixed columns defined using the Fixed cols property. Additional columns can be displayed at runtime by using the horizontal scroll bar. Specify zero to display all columns at once (without a horizontal scroll bar).

Fixed cols

Specifies the number of columns that should be fixed (frozen) on the left of the table. Fixed columns are not scrolled when the runtime user uses the horizontal scroll bar to scroll through columns in the table.

Initial Display Settings

Sort order

Defines the initial sort order for the runtime table data. You can define the control(s) by which to sort the data, the direction of the sort (ascending or descending), and whether to display a calculation row after each grouping within the sort order.

Calculation

Defines calculations to be performed by default on controls with bound numeric fields in the runtime table data.

You can choose from the following calculation types for each control that is bound to a numeric field: Average, Maximum, Minimum, and Total.