Skip to content

[FR] Option to rotate table headers 90° #12558

Closed

Description

@chille

Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find a similar feature request

Problem statement

All table headers shows the title as horizontal text. A column like Temperature coefficient [±ppm/°C] will take a lot of width, while the data could be something small like 100.

This is how it looks now:

InvenTree Parts view, not rotated headers

Suggested solution

By adding an option to rotate the text in the table header 90° we can get a really compact table that wastes less screen space.

This is how it could look:
InvenTree Parts view, rotated headers

Alternatively, have the buttons at the bottom.
InvenTree Parts view, rotated headers, alternative design

Describe alternatives you've considered

I have a working proof-of-concept CSS that seems to work in Gecko and WebKit based browsers. There are still a few things to figure out.

  • A better way to include the CSS. I have not touched any React code yet. I just included some raw CSS
  • Margins could probably be adjusted slightly to make it even more compact.
  • Some contents of the table, like the bool, does need some CSS adjustment
  • All these onHover icons are a bit problematic with this layout, as they expand the contents of each cell

I'm not sure exactly where the option to enable this should be enabled. Maybe a button on each table? Or maybe a global setting? Or both?

Examples of other systems

No response

Do you want to develop this?

  • I want to develop this.

Activity

  1. added
    enhancement
    triage:not-checked
    on Aug 7, 2026
  2. matmair commented on Aug 7, 2026

    @matmair
    Member

    I can see a few issues croping up with this but as a user setting this probably makes sense; you could add the css into a class in main.css and then optionally apply the class in the table if the user setting is set accordingly. User settings are defined in src/backend/InvenTree/common/setting/user.py

  3. added
    User Interface
    and removed
    triage:not-checked
    on Aug 7, 2026
  4. SchrodingersGat commented on Aug 7, 2026

    @SchrodingersGat
    Member

    @chille happy to review a PR for this, as long as it is user configurable

  5. added this to the 1.6.0 milestone on Aug 11, 2026
  6. added
    starter
    on Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    User Interfaceenhancementstarter

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions