Printing childern twice

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
AhmedBR
AppGini Super Hero
AppGini Super Hero
Posts: 327
Joined: 2013-09-19 10:23

Printing childern twice

Post by AhmedBR » 2022-10-27 23:24

Hi,

I have a table with children, I need to repeat the children rows in DPV template.
(print them twice under the detail view of parent).

Any direction on how to do that?

Thanks.
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper

AhmedBR
AppGini Super Hero
AppGini Super Hero
Posts: 327
Joined: 2013-09-19 10:23

Re: Printing childern twice

Post by AhmedBR » 2022-10-30 01:31

Figure it out, in case some one look for this in the future, just use: document.getElementById, innerHTML and appendChild.
Basically cloning the table and appending it to the last element of the html.

If you find a better way please let me know.


Thanks
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper

Post Reply