MultiEditTableViewTemplate
This page provides generated reference documentation for the MultiEditTableViewTemplate data model.
Displays one or multiple datasets as table. Rows are datasets, columns are entity fields. You can select arbitrary entity fields in property "columns". The columns defined as editable are basically displayed as editable components.
Overview
| Property | Summary |
|---|---|
| children | — |
| colspan | The colspan of the element. |
| columns | Contains all defined columns for this component. |
| devices | Determines on wich devices the component should be available. |
| dynamicTable | Determines if the table processes new rows and deleted rows by itself and dynamically shows or hides the rows. The changes are only in the cache and are only… |
| editableColumns | Defines the columns which shall be editable all the time. This will basically display the selected columns as editable components. |
| editRendererMapping | Mapping that specifies how an entity field should be rendered in edit mode. If no custom mapping is defined the default renderers are used. |
| entityField | This property is mandatory. Its value must be set to 1. #ENTITY, when the ViewTemplate uses multiple EntityFields of the Entity belonging to the View… |
| favoriteActionGroup1 | First action group to place additional actions in |
| favoriteActionGroup2 | Second action group to place additional actions in |
| favoriteActionGroup3 | Third action group to place additional actions in |
| fixedFilterFields | Defines the fields which shall be always shown on the filter. The will not be able to remove them entirely. |
| focusNewLineOnInsert | Determines, if the new added row should be focused. |
| hideColumnSelector | If true, the column selector of the table is hidden. |
| hideHeader | Defines if the column headers of the grid shall be hidden. |
| informationField | Defines the field which provides additional information. The placement of the information label varies between the ViewTemplates. The information label is only… |
| isCreatable | Creatable yes/no. |
| isDeletable | Deletable yes/no. |
| isEditable | Editable yes/no. |
| isSaveable | Saveable yes/no. |
| layoutMapping | Maps a column to specific layout properties e.g. textAlignment |
| linkedColumns | Defines the columns which shall be displayed as a native link. |
| linkedFrame | Linked frame that is executed on action. |
| maxDBRow | Sets the maximum number of data rows to be gathered from the database |
| rowspan | The rowspan of the element. |
| title | Title of the component |
| viewRendererMapping | Mapping that specifies how an entity field should be rendered in view mode. If no custom mapping is defined the default renderers are used. |
children
Type: Children
colspan
Type: Integer
Default: 1
Constraints: Minimum: 0, Maximum: Integer.MAX_VALUE
The colspan of the element.
columns
Type: Column
Contains all defined columns for this component.
devices
Type: EDeviceType[]
Determines on wich devices the component should be available.
The default value states that the component is available on all devices. If one or more devices are selected then the component is only available for those selected devices.
dynamicTable
Type: Boolean
Default: false
Determines if the table processes new rows and deleted rows by itself and dynamically shows or hides the rows. The changes are only in the cache and are only stored when saving. If no dynamic table is active, new rows are created for example via SmallEdit and are stored directly. The MultiEditTable is then reloaded. Rows are also deleted immediately and the MultiEditTable is then reloaded.
editableColumns
Type: String[]
Defines the columns which shall be editable all the time. This will basically display the selected columns as editable components.
editRendererMapping
Type: RendererMappingDataModel
Mapping that specifies how an entity field should be rendered in edit mode. If no custom mapping is defined the default renderers are used.
entityField
Type: String
This property is mandatory. Its value must be set to
#ENTITY, when the ViewTemplate uses multiple EntityFields of the Entity belonging to the View (default).- a single EntityField, if the ViewTemplate uses only this one single EntityField (example: WebContentViewTemplate).
The second option will result in a performance optimization.
favoriteActionGroup1
Type: String
First action group to place additional actions in
favoriteActionGroup2
Type: String
Second action group to place additional actions in
favoriteActionGroup3
Type: String
Third action group to place additional actions in
fixedFilterFields
Type: String[]
Defines the fields which shall be always shown on the filter. The will not be able to remove them entirely.
focusNewLineOnInsert
Type: Boolean
Default: false
Requires: dynamicTable property group
Determines, if the new added row should be focused.
<!--EOF-->
This property is only used when dynamicTable is set to true.
hideColumnSelector
Type: Boolean
Default: false
If true, the column selector of the table is hidden.
hideHeader
Type: Boolean
Defines if the column headers of the grid shall be hidden.
informationField
Type: String
Defines the field which provides additional information. The placement of the information label varies between the ViewTemplates. The information label is only shown once per ViewTemplate.
isCreatable
Type: Boolean
Default: true
Creatable yes/no.
isDeletable
Type: Boolean
Default: true
Deletable yes/no.
isEditable
Type: Boolean
Default: true
Editable yes/no.
isSaveable
Type: Boolean
Saveable yes/no.
layoutMapping
Type: LayoutMappingDataModel
Maps a column to specific layout properties e.g. textAlignment
linkedColumns
Type: String[]
Defines the columns which shall be displayed as a native link.
linkedFrame
Type: String
Linked frame that is executed on action.
maxDBRow
Type: Integer
Default: 200
Constraints: Minimum: Integer.MIN_VALUE, Maximum: Integer.MAX_VALUE
Sets the maximum number of data rows to be gathered from the database
rowspan
Type: Integer
Default: 1
Constraints: Minimum: 0, Maximum: Integer.MAX_VALUE
The rowspan of the element.
title
Type: String
Constraints: Verification: TITLE_LENGTH
Title of the component
viewRendererMapping
Type: RendererMappingDataModel
Mapping that specifies how an entity field should be rendered in view mode. If no custom mapping is defined the default renderers are used.