TitledListViewTemplate
This page provides generated reference documentation for the TitledListViewTemplate data model.
Used to display and enter data of the "n" part in a 1:n data relation: Displays one or multiple entity fields of n data sets, ordered in a comma-separated list (property "columns"). One field appears as preceding title, one further field can be highlighted.
Overview
| Property | Summary |
|---|---|
| autoNewRow | Determines if a new row should be added automatically, if the record state is NEW |
| 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. |
| 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… |
| fixedDrawer | Determines, if the drawer can be minimized or not |
| highlightingField | Has to contain the information, that should be highlighted |
| 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. |
| isLabelPositionTop | Defines if the label position of a FormItem is on top or to the side. Mobile devices will always use the top position and ignore this option. |
| maxDBRow | Sets the maximum number of data rows to be gathered from the database |
| rowLimit | Limit the amount of rows displayed and then show a show more button |
| rowspan | The rowspan of the element. |
| textAlignment | Specifies the text alignment for the values of the viewtemplate (default = left). The text alignment is the same for all of the value elements within the… |
| title | Title of the component |
| titleField | Field, that hold the title information |
| titleFieldFullWidth | Determines, if the title field can utilize the full width or is restricted |
| 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. |
autoNewRow
Type: Boolean
Determines if a new row should be added automatically, if the record state is NEW
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.
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.
fixedDrawer
Type: Boolean
Determines, if the drawer can be minimized or not
highlightingField
Type: String
Has to contain the information, that should be highlighted
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.
isLabelPositionTop
Type: Boolean
Default: false
Defines if the label position of a FormItem is on top or to the side. Mobile devices will always use the top position and ignore this option.
maxDBRow
Type: Integer
Constraints: Minimum: Integer.MIN_VALUE, Maximum: Integer.MAX_VALUE
Sets the maximum number of data rows to be gathered from the database
rowLimit
Type: Integer
Constraints: Minimum: Integer.MIN_VALUE, Maximum: Integer.MAX_VALUE
Limit the amount of rows displayed and then show a show more button
rowspan
Type: Integer
Default: 1
Constraints: Minimum: 0, Maximum: Integer.MAX_VALUE
The rowspan of the element.
textAlignment
Type: ETextAlignment
Requires: isLabelPositionTop property group
Specifies the text alignment for the values of the viewtemplate (default = left). The text alignment is the same for all of the value elements within the viewtemplate regardless of their content type. When isLabelPositonTop = true is set then the textAlignment property will be ignored.
title
Type: String
Constraints: Verification: TITLE_LENGTH
Title of the component
titleField
Type: String
Field, that hold the title information
titleFieldFullWidth
Type: Boolean
Determines, if the title field can utilize the full width or is restricted
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.