List component
Level: beginner
Use the List component to add lists. Mobile Creatio displays data received from a data source as a scrolling list on the full screen.
View the example of a configuration object that adds the list below.
Example of a configuration object that adds the list
{
"type": "crt.List",
"items": "$Items",
"itemLayout": {
"type": "crt.ListItem",
"title": "$PDS_Name"
}
}
string type
Component type. crt.List for the List component.
string items
The attribute from the viewModelConfig schema section.
object itemLayout
Configuration object that configures parameters of a list item to display in the List component.
Parameters
Name | Description |
|---|---|
string type | The component type to display in the List component. In most cases, |
string title | The data source attribute from the |