Buttons on a Custom Dataviewer List

I’m trying to create a Dataviewer List that has buttons on it to interact with the record that was returned. Essentially I’m working on the scheduling/appointments part of my app. I want to show a list of past appointments and have a button to leave a review or to book again directly on the dataviewer list. The problem I’m running into is I don’t see a way to define the click event, also I don’t see a way to grab the row id this way?

I already have an appointments table in my database and am retrieving the data fine and I’ve already made custom dataviewer layouts that work. Is there a way to add functional buttons to the data viewer list or would I have to make the list itself and manually code it to populate the data so I can have functioning buttons?