This topic is locked

Reload Details records

6/24/2012 3:30:53 PM
PHPRunner General questions
K
kohle author

Hi,

I have master-details form in phprunner. I added some records to the details table with a sql insert() command manually.

How can I reload the details form per script.
rgs

Jürgen

J
Jane 6/25/2012

Jürgen,
I'm not sure that I fully understand you.

Please clarify where you've added records to the detail table and what page you want to reload.

K
kohle author 6/25/2012

Hi,

I have a master table album and a child table fotos.

In the table link properties I have choosen : "Display child records on : Listpage and inline
In the visual editor I added for the table fotos a script code (Button) to add multiple files.

For this I use "uploadify". I can choose in a dialog more than one file and they are uploaded to the server.

After this, I add the records to the table fotos. Everything work fine. I can reload the

page with location.reload(true), but the child records are not expanded. Only the album list is shown.

I have to click again on the link Fotos(nn-fotos)to show the inline list of the fotos.
So I think I need something like a ajax solution to refresh the page smoothly. So the inline child records (fotos)

stay expanded and the new records are added at the end.