Okay
  Public Ticket #869588
Display table column headers vertically or at a 45-degree angle?
Closed

Comments

  •  2
    John started the conversation

    Hello,

    Is it possible to display table column headers vertically or at a 45-degree angle? I need to squeeze a lot of columns in a narrow space.

    Thanks.

  • [deleted] replied

    Hi John,
    Thank you for your purchase.

    It is possible with custom CSS and little customization. You will need to add transform property to the headers of the table. You can take a look at this tutorial Rotated Table Column Headers where you have example table and example CSS for rotating table headers. You can add custom CSS in wpDataTables custom CSS field on wpDataTables settings page or directly on page where your table is located.

  •  2
    John replied

    Thanks. I'll check out this solution.

    --John