Jump to content
  • 0

Tabular report print excluding data


Wernon

Question

Hi guys,

Is it possible to print the tabular report excluding some data?

I have a tabular report, where we keep some data and one of the column is important for analytics, but should not be included in the printed report. It is a report with totals and aggregations, so I want to see in the printed report the totals without the aggregated fields, only the total without the data it combines.

I know it might be possible to create two different datapages, but it is not good practice to use a datapage just for printing a single report sometime.

 

Does anybody have any JS or CSS suggestions for my case?

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

Hello!

It is possible if you use the Old PDF generator and CSS styles to hide the needed field.
It is a bit tricky because the PDF generator does not see new CSS 3 selectors, however, it is possible.

Please find files with the sample application and PDF instructions attached.
You can import the application in your account and play around with it.

The idea is to create additional datapage which you will use to print reports. It should be just the same as the datapage for WEB.
The difference is that we will use the predefined criteria to find the result set. we will pass the values for criteria as parameters within PDF generator link.
The instruction on how to create the old PDF generator link is in the file attached.

"PDF_Report" Datapage is for  the web site to be deployed.
"PDF_Print" datapage is the page that we will use to print the report and hide fields that we do not want to see.

I use CSS property "color" to hide the information. I color the text the same as the background.

Please let me know if you have any further questions regarding this solution.
 

PDF Generator Instruction_2017_3.pdf

PDF_Old_Pdf.zip

Link to comment
Share on other sites

  • 0

Hi everyone!  Caspio has new update and enhancement about PDF Documents. You can now insert PDF documents on results pages in addition to details pages. You can now as well customize the “Download PDF” action link using the associated style and localization, or create a custom display during DataPage configuration.

It is available in R31 version: https://howto.caspio.com/release-notes/caspio-31-0/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...