I am trying to display a list of items (sport bets) with a data grid.
The data is coming from a http call to my Xano API. The answer I get is a list of 10 objects (my bets).
My problem is : when I try to set up the ‘title field’ and ‘content field’ of my data grid, it only propose me to set it up as “response”, “headers”, “statusCode” and not the actual values of my list of bets…
When I try to use “custom value” and use code with “currentItem” or “currentValue” it does not work. e.g “$queries.allBets.data.response[currentItem].name_of_bet”. This gets me the following error : “Cannot read properties of undefined (reading ‘name_of_bet’)”
I find it odd because the result of my Xano http call is similar to the one of the Pokedex projects which displays a nice data grid like I want for my project
Relevant links:
- My project: Plasmic
Thank you for your help !