I need help in combining these two sets of block (i am still a newbiew)

i am doing an app that could save,update and delete data from the firebase. i use realtime data for the firebase. then i wanted to show my data inside a table. for the original block i uses listview to show the data. i try to use the tableviewer extension but i dont know how. please guide me.

You may want to consider using a YAML layout in your listview:



but i want to change it. instead of using listview, i want to use tableviewer to display the store data.

update_data.aia (32.8 KB)
this is the file for the project, if you need to take a closer look

Then read the entire topic to get an understanding of how to use Tableviewer

In essence, you will need to create a list of lists from your firebase data.

does this mean i need to reconfigure the firebasedb gotvalue block into list of list?

Really hope you can guide me because i just started using it this month.

You do not have to, but you would need to manipulate the database output to make a list of lists, e.g. like this:

[["A","B","C"],[1,2,3],[2,3,4],[3,4,5]]

{9F9B3AB2-A50A-4D3D-B799-24F6F53DA91C}

is it like this?

Not really, let me provide you with an example of how I might do it, using Firebase RTDB as it should be used.

Designer
image

Firebase Data Structure
image

Screen

Blocks

Thank you so much for your guidance!!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.