How Can I inject values to Repeating Panel using server side code?

What I’m trying to do:
How can I inject values to Repeating panel from Google Colab (Server side) to Anvil?
I tried to follow this example:

But there is no server side code that explain how to insert data to the table.

You cannot directly interact with a data grid (or repeating panel) from server side code. The client code and server code are running on different machines.

The best you can do is to return data from the server side code to the client code that called it, and then on the client side parse that data and make your changes to the repeating panel’s contents. The simplest form of this is to return a new list that you put into the repeating panels items property.

My table contains two columns:
Property and Value. (which I defined in the Anvil editor in the Repeating Panel → Data Grid )
In the simplest way, what is the code to write (even in Anvil) to inject data to the rows under?

I don’t know what “inject data to the rows under” means. In the link you posted, it shows putting data into the repeating panel’s items property. That’s how you set the data displayed.

If you want to change the data displayed, you do the same thing. You replace the items property with the new contents.

1 Like

Yes I went over the manual and indeed it can be replaced manually.
What took some time to understand is the modularity of this, that you need to enter DataGrid, then Data Row panel and inside of it to drag another module that called Label.
And giving that the GUI is total black, it is very hard to see where to place them.
All in all it is ok now :slight_smile:
Btw in that regard how can I change the side bar color?