The Event List web component
A content area to display a list of events.
Properties
All properties for this object with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.
data
The data.
Type | string | number | boolean | object | array | ||||||
Format | Custom data | ||||||
Mutability |
|
eventColorByIndex
A list of colors for each item, by index.
Type | array |
Array values | string |
Mutability | Read-only |
eventEndDateByIndex
A list of event end dates, by index.
Type | array |
Array values | string |
Mutability | Read-only |
eventPropertiesByIndex
A list of event properties, by index.
Type | array |
Array values | string |
Mutability | Read-only |
eventStartDateByIndex
A list of event start dates, by index.
Type | array |
Array values | string |
Mutability | Read-only |
eventTitleByIndex
A list of event titles, by index.
Type | array |
Array values | string |
Mutability | Read-only |
eventTooltipLabelByIndex
A list of tooltips for each item, by index.
Type | array |
Array values | string |
Mutability | Read-only |
Default |
|
Examples
groupBy
The grouping option when isGrouped
is true
.
Type | string | ||||||
Mutability | Read-only | ||||||
Allowed Values |
|
id
The unique identifier (name).
Type | string | ||||
Format | Plain Text | ||||
Mutability |
| ||||
Default |
|
Examples
isHiddenOnDesktop
Whether to show or hide this object in the desktop layout.
Type | boolean | ||||
Format | True/False | ||||
Mutability |
| ||||
Default |
|
Examples
isHiddenOnMobile
Whether to show or hide this object in the mobile layout.
Type | boolean | ||||
Format | True/False | ||||
Mutability |
| ||||
Default |
|
Examples
maintainSpaceWhenHidden
Whether to take up space on the canvas if hidden
is true
.
Type | boolean | ||||
Format | True/False | ||||
Mutability |
| ||||
Default |
|
Examples
margin
The amount of margin to render outside.
Type | string | |||||||||
Format | Plain Text | |||||||||
Mutability |
| |||||||||
Allowed Values |
| |||||||||
Default |
|
Examples
metaEventColorByIndex
A list of meta event colors, by index.
Type | array |
Array values | string |
Mutability | Read-only |
metaEventEndDateByIndex
A list of meta event end dates, by index.
Type | array |
Array values | string |
Mutability | Read-only |
metaEventStartDateByIndex
A list of meta event start dates, by index.
Type | array |
Array values | string |
Mutability | Read-only |
metaEventTitleByIndex
A list of meta event titles, by index.
Type | array |
Array values | string |
Mutability | Read-only |
milestoneColorByIndex
A list of milestone colors, by index.
Type | array |
Array values | string |
Mutability | Read-only |
milestoneData
The data.
Type | string | number | boolean | object | array | ||||
Format | Custom data | ||||
Mutability |
|
milestoneDateByIndex
A list of milestone dates, by index.
Type | array |
Array values | string |
Mutability | Read-only |
milestoneTitleByIndex
A list of milestone titles, by index.
Type | array |
Array values | string |
Mutability | Read-only |
showInEditor
Whether the component remains visible in the editor if hidden
is true
.
Type | boolean | ||||
Format | True/False | ||||
Mutability |
| ||||
Default |
|
Examples
style
Custom style options.
Type | object | ||||
Mutability |
|
Object Properties
Methods
JavaScript API methods for this object. You can write JavaScript almost anywhere in Retool and use methods to manipulate data and property values.
eventList.scrollIntoView()
Scrolls the canvas or parent container so that the selected component appears in the visible area.
eventList.scrollIntoView(options)
Parameters
Examples
eventList.setHidden()
Set the hidden
value to toggle whether the component is visible. Defaults to true
without a parameter.
eventList.setHidden(hidden)
Parameters
Examples
Events
Events triggered by user interactions. You can configure event handlers in the IDE to trigger queries or other actions in response to events.
Event | Description |
---|---|
Click | An item is clicked or pressed. |