Adding Button To Grid

Hi I have a table with a list of info in it

I want to add a button to each row that when pressed calls a server func and sends some data about the row.

Here is the grid as of now

Add a column, drop the button in the top row and it’ll repeat. Add your click event. Done.

1 Like

Here are some minimal generic examples.

Button on each row of a simple repeating panel, passing rows to be updated in server code:

https://anvil.works/classic-build#clone:7TZLVOKYSCLEA5SN=EVUBBHRRIORCL5ZO6FVUEZSG

Grid example with some more features:

https://anvil.works/classic-build#clone:MBBY7OJOYOC7RBMN=5IZSHQZWGKIJCM62BSWR6DMD

1 Like

Note that the column title can be left blank (so no column header text appears in the grid).

2 Likes