?
Solved

Right aligning numbers in export to PDF and Print page number

Posted on 2016-11-14
4
Medium Priority
?
148 Views
Last Modified: 2017-01-25
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
Comment
Question by:Errol Farro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 82

Expert Comment

by:leakim971
ID: 41887147
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
 

Author Comment

by:Errol Farro
ID: 41888643
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
 
LVL 82

Expert Comment

by:leakim971
ID: 41888691
Why do you need to add page number when you already have them when printing ?
0
 
LVL 82

Accepted Solution

by:
leakim971 earned 2000 total points
ID: 41888698
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

Featured Post

RHCE - Red Hat OpenStack Prep Course

This course will provide in-depth training so that students who currently hold the EX200 & EX210 certifications can sit for the EX310 exam. Students will learn how to deploy & manage a full Red Hat environment with Ceph block storage, & integrate Ceph into other OpenStack service

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question