Show TOC

Function documentationi5Grid Layout Locate this document in the navigation structure

 

You use this function to configure the column layout of your SAP Manufacturing Integration and Intelligence (SAP MII) i5Grids.

Features

The grid layout properties are as follows:

Property Name

Parameter Name

Data Type

Description

Column Number

None

Integer

Identifies the column.

Column Name

DisplayColumns

String list

Descriptive name for the column.

Heading

ColumnHeadings

String list

Specifies the heading of the columns.

Width

ColumnWidths

Integer list

Specifies the width value for each column.

The width value is overridden when you select Auto Resize Columns.

Format

ColumnFormats

String list

Specifies the format for numeric data for each column. You can define currency and percentage values and values with different decimal precision. You must provide a generic format for non-numeric columns. For more information, see the Date and Time Format and Number Format column of grid area. For more information, see i5Grid Grid Area.

Alignment

ColumnAlignments

String list

Specifies horizontal text alignment for each column. When this parameter value is not specified, the default grid alignment is left-aligned.

Boolean

ShowColumnAsBoolean

String list

Specifies if the column should be displayed as a checkbox in the grid. For more information about Boolean values, see Boolean Types.

Allow Column Resizing

AllowColumnResize

Boolean

If you select this checkbox, you can resize the columns at runtime. Changes to column widths are not persistent; therefore, when the grid is updated, the widths default to the original values.

Auto Resize Columns

AutoResizeColumns

Boolean

Select this checkbox to resize the columns based on the length of the text in each column.

If you select this checkbox, the width values specified in Width property is overridden.

Center Column Headers

AlwaysCenterColumnHeadings

Boolean

If you select this checkbox, the column header text is centered. If the checkbox is not selected, the alignment of the column header text is based on the Alignment property.

Activities

In the Layout screen of your grid in the SAP MII Workbench, enter your query template and choose Load. The column names for the query appear in the list. You can do the following by using the properties in the table above:

  • Add columns

  • Delete columns

  • Configure column properties

You can change the parameter values through web page scripting. For more information, see Web Page Scripting for i5Grids.