Grouping Data under a Table
- Select the Table element.
- Under the data rows in Table, add the Collapse element from the Interactive category in the Elements panel in the UI Design module.
- Create a SQL Action for the corresponding table.
Creating SQL Action
- Click the + icon next to the Actions heading in the left panel.
- Select New SQL Action from the drop-down menu.
- Write your SQL query via SQL Editor and click CREATE.
- You can get suggestions from Kuika AI assistant by activating the Generate with AI option.
- You can view, rename and delete the action you created in the left panel.
- To make edits, click on the action and select Edit.
- You can edit existing SQL queries and update them with the Update button.
- Use Delete to delete the action.
Collapse Layout
- In the Collapse element, specify the field to group.
- For example, if you want to group customer information, select the customer name as the header.
- In Collapse, add the required fields for detailed data.
- Each row of the table represents a customer.
- When the row is expanded, the detailed list of customer orders becomes visible.