This topic is locked

Open details table in popup

10/10/2023 9:22:11 AM
PHPRunner General questions
author

I have a master-details relationship and I want the details table to popup using the Add New button. Currently the Add page of the <em>mater table</em> is only allowing inline add to the <em>details table</em>, but the Edit page of the same master table allows popup of the details table. I need both to use the popup mode.
I tried to change that in the <em>Table Link Properties</em> but the Preview (popup option is disabled). See below.
img alt
How can I enable it and select that option. Or achieve same result using code
Thank you

aadham 10/10/2023

You need to specify that from Pages>List Page>Settings, as shown below:
img alt

502098 10/12/2023

Thanks aadham, but I believe your suggestion will all Add, Edit and View pages popup. Thats not what I want. I want it for only one master table's detail a page.
However, after reading this link here I suppose it is actually not possible becuase at the point of adding a new record to the master there is no master record yet to relate to the details
> "..it was designed this way because the master record has no data yet so there is no data for the related details"

So I simply removed the details table form Add and kept it in Edit and View
Thanks