Header Alignment on Datatables Print

Header Alignment on Datatables Print

cklaslancklaslan Posts: 2Questions: 2Answers: 0

I've added support to add a Print button to my DataTable. Everything works well, except when the new print window opens, the headers are centered, despite being left aligned on the main DataTable. How to I change the alignment on the printed table?

Answers

  • allanallan Posts: 62,225Questions: 1Answers: 10,208 Site admin

    Is this with the Buttons extension? Can you link to the page (per the forum rules) so I can understand why that is happening. The table should inherit the same basic styles as the source table, but CSS rules might cause that not to happen.

    Allan

This discussion has been closed.