4

I have a table with more than 20 columns. This table is displayed with scrolling on a website. I have to scale these columns for a PDF export.

Is there a UI pattern that helps fitting these columns into a PDF?

6
  • 6
    Take a look on responsive tables. You can apply some patterns to the PDF. Feb 20, 2018 at 9:37
  • 2
    if it's 20 cols it sounds more like a spreadsheet
    – colmcq
    Feb 20, 2018 at 10:59
  • 2
    Set your pdf to output as a custom size that your table will fit on Feb 23, 2018 at 17:16
  • 1
    Landscape orientation :)
    – invot
    May 10, 2018 at 15:09
  • What will people be using the PDF for? If they're looking at it on a screen, then just export it full size and let their Reader app scroll it. If it's for printing, then you've got an interesting problem. Sep 4, 2018 at 17:57

4 Answers 4

1

Use symbols and abbreviations to lower the width of each column, and have a legend on top of the table to explain each symbol/abbreviation if necessary.

0

Quite hard for 20 columns. You could find another way to transfer it to a pdf depending on the rows you have. Possibly in a card view one after the other. Or you could eliminate some secondary columns in order to make it fit.

0

It is all a question of output size & quality.

I have one spreadsheet that I have been exporting as a PDF for years and it keeps growing. So I have one version where I drop a column at the beginning for each column I add on the end (it is time based) and another where the columns just keep getting smaller. Currently up to 18 columns - next year it will be 19 columns.

The things you can do:

  • Paper size, orientation, margins

PDF is based on a printable document design. If you print (US sizes) letter size, portrait and have 1" margins, then you only have 6.5" to work with. If you print legal size and landscape and 0.5" margins then you have 13" to work with - double the size. The typical user may not be able to print on legal paper, but landscape & smaller margins should not be a problem at all.

  • Font size

Typical font size is around 12pt. 10pt is still quite readable. But if you simply must have everything on one page, go smaller - even 8pt can work if it has to.

  • Content

Depending on the document, you may have some columns where you can replace a full word or two with a number or short code and make the column smaller, but at the expense of having a legend somewhere to explain the codes.

0

If every column must be shown at the same time then try transposing the table and adding a scrolling feature to view the records.

"Shifting Columns and Transposing Data" is an interactive PDF document which includes a custom scrolling feature and available at https://www.academia.edu/43005344/Shifting_Columns_and_Transposing_Data_A_Reply_to_A_Question_at_User_Experience_Stack_Exchange.

It implements the idea as a PDF form application that uses JavaScript and the Acrobat/JavaScript API.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.