One of the power powerful capabilities of Adalo is to create a List within a List. For example, in a trip planning app, you might want a screen that lists the days of the trip and under each day a list of the day's activities.
![](https://gblobscdn.gitbook.com/assets%2F-LhGHkPsv15svPIU5I7C%2F-LmkyN6m9aPSi_lao8y4%2F-Lml0uZ_Kx_NCWIU1Bzt%2FScreenshot%202019-08-20%20at%204.53.40%20PM.png?alt=media&token=7bacef79-8043-46da-9b1b-99b34b8d6638)
To create this list within a list, it's best to start at the base level and then build up. In this example our database has three collections: Trips, Days, and Activities. Days have a relationship property to Trips, and Activities have a relationship property to Days.
-
Add a Simple List to your screen
-
Set the List to be a list of Activities
-
Add a Text component above the Simple List that will serve as the Day header
-
Add an Add Activity button to the bottom of the Activities List
-
Now select the Simple List, the header Text, and the button components
-
In the Left Panel, click the "Make List" button
-
In the Left Panel set the new list to be a list of Days
-
Set the Filter to be Current Trip Days
-
Now click into the header Text, and set the Magic Text to Be Current Day Name
-
Now click into the Simple List and set it's filter to be Current Day Activities
![](https://gblobscdn.gitbook.com/assets%2F-LhGHkPsv15svPIU5I7C%2F-LmkyN6m9aPSi_lao8y4%2F-Lml202p4rjZPfheZjJ8%2FWander%20(1).gif?alt=media&token=98a5bffc-cd5d-45fd-844d-a9eaaa3aedd2)