Printout in seperate tab is right aligning every td when the original is forced to be left aligned.

Printout in seperate tab is right aligning every td when the original is forced to be left aligned.

CarlChiltonCarlChilton Posts: 2Questions: 2Answers: 0

Description of problem: I have just added the print button to datatables, which is working fine, however, when it opens in a new tab, all td's are right aligned. I have added alignment: 'left', to the buttons array but still getting no joy. I've checked the documentation but can't see an easy answer. Anyone experienced this before and have a solution? I'm using the most up to date version of DataTables.

Answers

  • colincolin Posts: 15,112Questions: 1Answers: 2,583

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

Sign In or Register to comment.