How to Customize Print Preview

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
clarxion
Posts: 1
Joined: 2014-06-26 09:47

How to Customize Print Preview

Post by clarxion » 2014-06-26 10:02

Dear All,


Previously I used Appgini version 4.7. I use tablename_dv() feature to make result like this:

Image

In Appgini 5.3 have very nice features to display Child on main table. Let say for Orders - Order Details.

But when I tried to print, it only display Order fields only, for Order details does not appeared at all.

Can we do a little modification, so when we print on Order, it also display Order details?

Many thanks

magicalmutation
Posts: 11
Joined: 2013-08-07 17:15

Re: How to Customize Print Preview

Post by magicalmutation » 2014-08-04 11:54

did you manage this?

silvending
Posts: 3
Joined: 2015-04-28 22:19

Re: How to Customize Print Preview

Post by silvending » 2015-04-30 23:04

Yeah... i would love to know the solution.. :) i can't figure that out too..

Regards.

primitive_man
AppGini Super Hero
AppGini Super Hero
Posts: 54
Joined: 2014-03-09 20:20

Re: How to Customize Print Preview

Post by primitive_man » 2015-05-18 11:44

Because the option to display a child table is not inherent in appgini 5.3 (It requires a modification of the _templateDV (Details View) file - See http://bigprof.com/appgini/tips-and-tut ... -same-page ), a similar modification would be required in the _templateDVP (Detail View Print) file. One solution I'd suggest is:
1. Backup your _templateDVP
2. Make a copy of your _templateDV file and rename it _templateDVP
3. Delete and/or customise any content that you don't want to print (Delete the DV action buttons / add the print buttons etc)

You'll probably find that you'll have to tweak the display format but it does work ok.

Post Reply