How can I Load a specific value from a table and Display on Frontend
Hi.
Please watch our tutorial First Steps - Developing a Basic App with Database Integration - YouTube
Hi @Lakshit_Singh,
Make sure that the Data Binding has the correct values. For example, Name and name are two different properties. It is important that the Data Binding contains the same values as in the logic. By the way, does the Load Table objects logic return correct data?
Regards,
Marina
It is loading the correct data but i am not sure if it should be like this only. I need the ‘Maturation’ to display.
Hello @Lakshit_Singh
You set to Data Model list of objects from table ActionTime (in your example the list has only one object).
This is not entirely correct.
“data object” should be object.
Like:
Further, it is not entirely clear to me how and where you want to display data from the table.
Looks like you set data to some block model.
So there how to take the “Maturation” string inside your block:
Regards
Hello @Lakshit_Singh!
If I understand correctly (please correct me if I’m wrong), your task involves an array of objects that you want to display in the UI.
To achieve this, you can try the following approach:
- Place a checkbox next to the
Repeater
for thecontainer
- Bind the property value to the
TEXT
block
- In the logic, use
Set Repeater Data to
As a result, you will display your data in the UI
Regards,
Alexander
Alexander, I actually require to load specific data from the table rather than an array.
i mentioned this in the description of the question.
Hello @Lakshit_Singh!
Those were sample data for illustration purposes, but feel free to substitute them with data obtained from the database.
Regards,
Alexander