This is a quick demo that combines two techniques I showed in previous blogs - filtering lists, and accessing the value of a selected row in a table. Leveraging these two together it's quite easy to crate a page that has two tables on it - one is the parent and the other is the child, once you select a record in the parent the child table will update to see only the related child records.
Here is a quick demo:
The two steps we are doing are:
- Create an action flow on the change of first-selected-row attribute of the table
- In the flow use the assign variable function to set the filterCriterion of the child table to check for the value selected in the master
As you can see - quite simple.