Hey there! I'm working on a deck where I'm hoping to display input from a few previous cards in a grid on another.
I've sorted out how to access and display data across cards, but am hung up on how to programmatically insert table data into a grid widget.
I noticed that the syntax for insert has recently changed, so *think* I'm doing it the right way, but it isn't having the effect I'm expecting.
insert name age hobby with "Alice" 23 "running" "Bob" 25 "cooking" "Charlie" 17 "birdwatching" into roundup.widgets.player.value
In this example I'm not yet trying to insert data from other cards, just insert some static sample data into a grid widget on the current card.
The card is named "roundup," and the grid widget is named "player" -- that widget currently has an empty table with columns named "name," "age" and "hobby." When I run my code snippet at the listener, I see a table in the listener, but no data appears in the widget. When I run it in the script pane, wrapped in an "on view" no error is thrown, but nothing happens.
Any guidance for how to do this? Thanks!