Hi, I have various parent/child tables, and I like to show the detail view when users print the parent child. How can enable all the children detail view for all the parent tables? And hide the button to show the cihldren records.
Thanks
always print children records
Re: always print children records
The button to show children records is viewable only on the screen but doesn't get printed. We'll add an option in the next release (due very soon) to enable all children by default without having to click each child's button.

- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.
- Need personalized consulting on your specific app and customizations? Book an online call with me here.
Re: always print children records
ok, so there is not a code to insert to enable print in all children tables? When is going to release the next version?
Thanks.
Thanks.
Re: always print children records
OK, try this code in hooks/footer-extras.php:
Code: Select all
<script>
$j(function(){
$j('#children-tabs.hidden-print .btn').click();
})
</script>

- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.
- Need personalized consulting on your specific app and customizations? Book an online call with me here.
Re: always print children records
Hi, I've tested the code but doesn't works. Any idea?
Re: always print children records
Hi,
Was this option added? if yes, where?
(the above code does not work 22.14)
Thanks
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper
Re: always print children records
For a quick solution, added this to the file: table_template.DVP.html
It is a custom print template page, it is not going to be overwritten.
Code: Select all
<script>
setTimeout(function(){
// toggle back after 1 second
$j('#children-tabs button').click();
},500);
</script>
AppGini 22.14 - xampp 3.3.0 - PHP 7.4.30 - Summary reports - Calendar - Mass update - Messages - AppGiniHelper