Can you share some more detail of how this List/Detail paradigm works in Anvil?
I’m trying to do something similar - create a flow of read data from a database, show some of the important fields in a table using Data Grid and Repeating Panel. But then I want to click on a row to launch a “detail form” to show the whole record in a more readable format.
I added a button to the Row Template, with a click event to launch the Detail Form.
So far, so good.
I’m-Stuck-Issue-1: how do I get the selected record data item into the “self.item” container/pointer? I can see from this post how to pass it, but nothing seems to be getting passed - value is None when it gets there. Do i used a Data Binding for this? Noob confusion…
I’m-Stuck-Issue-2: how do I get back to the List form from the Detail form? I’m running this inside of a Multi-page Shared Nav at the top level. I can’t seem to find the right object to pass back when the Back Button click tries to do a content_panel clear and add_component. I’ve tried several variations from top down and self.parent.parent…
thx,
chris0