Skip to content
Middle+5 views

How to ensure a comfortable UX for a very wide table, for example with 15 columns, which does not fit the screen width?

Practice

Asked at

AI answer

Don’t try to fit all the columns in at any cost. A few approaches usually help:

  • Freeze key columns, such as the row name, and the table header.
  • Allow horizontal scrolling within the table and make it noticeable; don’t scroll the entire page horizontally.
  • Let users choose which columns are visible and change their order. Show the most important ones by default.
  • On narrow screens, replace the table with cards or show row details when expanded.
  • Add search, filters, and sorting so users don’t have to rely solely on scanning every column.

Be sure to check the usability of keyboard navigation, the accessibility of headers and scrolling, and responsive behavior at real screen sizes.