Thank you! Here’s what works…I do want to show each unique data row in detail once the link is created, so I assume this is the way.
Form1
class Form2(Form2Template):
def __init__(self, **properties):
# Set Form properties and Data Bindings.
self.init_components(**properties)
self.repeating_panel_1.set_event_handler('x-reload', self.change_lbl)
# Any code you write here will run when the form opens.
self.repeating_panel_1.items = anvil.server.call('get_evaluation')
#self.submit_lbl.text = self.data_grid_1.get_components('flow_panel_1')
#self.data_row_panel_1.item = anvil.server.call('get_evaluation')
#self.test_lbl.text = 'hello'
def change_lbl(self, **event_args):
self.submit_lbl.text = event_args['date']
print (self.submit_lbl.text)
Form2.RowTemplate2
class RowTemplate1(RowTemplate1Template):
def __init__(self, **properties):
# Set Form properties and Data Bindings.
self.init_components(**properties)
# Any code you write here will run when the form opens.
def link_1_click(self, **event_args):
"""This method is called when the link is clicked"""
self.parent.raise_event('x-reload', date = self.link_1.text)
