Get value from specific column in RowTemplate1?

What I’m trying to do:
I have a column in my datagrid repeating panels containing a checkbox. Upon a user making a change to the checkbox, I am triggering a function to make an update call to a SQL database. However, I also need to grab a unique identifier from that current repeating panel/row on which the check box was checked. What is the appropriate method to use to access this cell value? Example:

For the following datagrid - if the user checks the checkbox in “checkbox” column, I want to be able to return value of column “Unique ID”, in this case “12345” and pass it to a function.

Name || Unique ID || Checkbox

Dave || 12345 || “Checked”

What I’ve tried and what’s not working:
Have not been able to identify an appropriate solution
Code Sample:

# this is a formatted code snippet.
# paste your code between ``` 

Clone link:
share a copy of your app

If you are passing the information to the rows in the data grid in the suggested format of a list of dicts (actually any iterator of dictionary like objects) like this:

self.repeating_panel_example.items = [ 
                          { 'row_num':1 , 'data':'sdfghshsfg', 'type':'orange' },
                          { 'row_num':2 , 'data':'sdfghshsfg', 'type':'green' },
                          { 'row_num':3 , 'data':'sdfghshsfg', 'type':'blue' },
                                      ]

When you are in the row_template (where you have placed you check box) you should be able to access that rows information through self.item['example_key']

so if you pass the unique values into the dictionary of the data grid row, you should be able to use that value to pass your “Unique ID”.

Documentation here: Getting the Data in

Anvil has a rich structure, and it’s well-documented. I refer to it frequently.