Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 326
  • Last Modified:

Right aligning numbers in export to PDF and Print page number

With Datatable export,  I have managed to activate print and PDF button

When printing and export to PDF, how can I

1) Right justify a numeric column
2) Print page number on the footer ?
0
Errol Farro
Asked:
Errol Farro
  • 3
1 Solution
 
leakim971PluritechnicianCommented:
do you need help or someone to do the wokr for you.
no offense, it's just about the way you write your question :)
you should split it at least split it

you may use @media print to create a specific stylesheet for your pdf
for the page number on the page, I see it by default on browser, why do you need one more time, thanks ?
0
 
Errol FarroAuthor Commented:
I just need an example on how to Right justify a numeric column when exporting to PDF. In addition, I need an exampole on how to print page numbers when exporting the jquery datatable to pdf
0
 
leakim971PluritechnicianCommented:
Why do you need to add page number when you already have them when printing ?
0
 
leakim971PluritechnicianCommented:
to right align here some exampel to customize a stylesheet for your prints :
https://developer.mozilla.org/en-US/docs/Web/CSS/@media#Exemples
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now