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?
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.
Also asked at СБЕР
- Have you worked with useLayoutEffect and how does it differ from useEffect?
- [name] asked: why did you decide to change your job?
- What is Event Loop in JavaScript?
- What is Virtual DOM and how does it work in React?
- Please tell us about your experience: what tasks do you solve, what is your area of responsibility, what technologies have you worked with, and how are the team processes organized?
Similar questions
- How would you improve the user experience of a wide table with 50 rows when the horizontal scrollbar is below the visible area?
- What are the problems of adapting HTML tables?
- How did you optimize rendering of large tables?
- How to optimize rendering of a large table in React with many rows and columns?
- Besides filtering, pagination, and sorting, what aspects of the table would you need to clarify from the design mockup?