Skip to content

Custom List

Custom List is a component that allows you to add and customize list item components as list items. Actions can also be executed from added components.
[v3.3.0] This component was added.

Properties

NoItemInput ValueDefault ValueAction PropertyTypeAction Default ValueDescription
1IDStringAuto-setidstringAuto-setThe [id] property cannot be set in actions.
2WidthNumber640widthnumber640Component width
3HeightNumber640heightnumber640Component height
4XNumberxnumberX coordinate position
5YNumberynumberY coordinate position
6List Item HeightNumber240listItemHeightnumber240List row height
7Background ColorString
Color Picker
backgroundColorstringBackground color
8Selected Background ColorString
Color Picker
selectedBackgroundColorstringBackground color when list row is selected
9DividerSelect
1. None
2. Full Width
3. Middle
4. Inset
NonedividerstringNoneDivider display setting
10ScrollbarBooleanOFFswitchbooleanfalseScrollbar display setting
11VisibilityBooleanONvisibilitybooleantrueComponent visibility setting
12ValueTable format
[Detail 1]
valuearray of objectCustom list value
13Click EventSelect
1. None
2. Action
None[When Click Event is None]
Only actions within list item components are enabled.
[When Click Event is Action]
Only actions when clicking list rows are enabled.
14SelectedselectedobjectData of the selected list row

[Detail 1] Value

Gets and sets the value of the entire custom list table. The value format is an array of objects representing rows.
The default state is registered as follows. Register each row from the [Add Row] button.
To delete, select the checkbox and click the [Delete] button.

text_field_1button_1typography_1
Text_1Button_1Description_1
Text_2Button_2Description_2
Text_3Button_3Description_3

When handling data in actions, setting value in the array of objects format as shown in the example below will display data in each component of the custom list. Similarly, value contains the current display data state of the table in array of objects format.

[
{"text_field_1":"Text_1","button_1":"Button_1","typography_1":"Description_1"},
{"text_field_1":"Text_2","button_1":"Button_2","typography_1":"Description_2"},
{"text_field_1":"Text_3","button_1":"Button_3","typography_1":"Description_3"}
]

[Detail 2] Getting Clicked Row from List Row Actions

In list row click actions and component actions within list rows, the event occurrence row can be obtained through the selected property. The selected property can get the selected row data. In custom list events, a row object with one element can be obtained through the selected property.

Events

Event NameDescription
onclickOccurs when a list row is clicked.