Display and customize data
You can display content from your own database, customize styling. It's useful when building dynamic content like blogs, photo gallery, job boards, and more.
Before listing data, make sure you've already Connect to your database
This document will show you:
The Connect panel allows you to manage queries, connect data to elements, or create an action trigger. It's located at the bottom right of the Editor panel (icon).
The Connect panel contains:
Connect to Table: Create/edit a query, connect query to a block element
Connect to Field: assign an item field to an element (for text and image element)
Fields Mapping: quickly connect the children elements to a data field
Action: create an event action to update/modify data
To display data items, you need to create a query and connect it to a template view. A template view usually has 3 levels:
A sample template view with 3 levels
The following steps will show you how to connect to a query and displaying the data items.
Connect to Table, select your query from the
Connect To Table, from
Template View, select
Data item view
After defining the template, you can display item fields (i.e name, email) using text or image. Note that the process is the same for either text or image
Connect to Field, select a field from the drop-down
You now know how to connect to a data query and display data items.
First, connect data to a
container. Then, set an item template. Finally, connect
image to data item fields. Then, you can style your data items as you want.
Last updated on 19/01/2022
Rebit provides a set of tools, make it easier to change, help you save time and money to evolve your business
© 2021 Rebit