I’m trying to populate a table from my Airtable database. When I bind the table, it seems to just keep duplicating the placeholder values and is not fetching my data. What am I doing wrong?
I’ve tried to follow along with these two tutorials, but the screens/names are slightly different in the version that was used and regardless of what I try I have been unable to get the correct value/output.
Won’t let me link to the youtube weweb tutorials because I’m too new evidently…
Ok so in your screenshot, you’re binding your collection to a container and the data grid is inside that container.
As a result, the data grid will be repeated as many times as there are items in your collection.
If you are trying to display data from your collection in your data grid, you should bind the collection to the data grid itself like you can see here:
Not sure which videos or documentation you saw but this video and documentation on how to work with the data grid should be up to date.
PS: if you run into any other outdated videos and articles in the future, don’t hesitate to send me a private message. We try to hunt them down to update them but can miss some so any help is appreciated!
Ok great, that was definitely what I was missing! On the container, I saw the specific bind command, but on the DataGrid, you have to toggle to your #2 to find the specific accordion tab in order to bind. That was not clear to me.
These are the URLs I was trying to follow:
LetTheLinkThroughhttps://www.youtube.com/watch?v=sScQ18ycCI4
LetTheLinkThroughhttps://www.youtube.com/watch?v=flW75yaNTnM&t=625s
They don’t use the datagrid element. I feel like there was another one somewhere, but I can’t find it at present.