Tell me more ×
Graphic Design Stack Exchange is a question and answer site for professional graphic designers and non-designers trying to do their own graphic design. It's 100% free, no registration required.

I need to display data table which numbers of columns and rows could be quite changeable. I was thinking to have an horizontal scroll, but maybe this is not a good solution.
Each cell should be also editable.

The app will be in the web.
The code can be written in javascript, CSS, HTML

A possible solution could be something like this.

enter image description here

Any other idea, example how can I improve the display of these kind of data will be appreciate.

share|improve this question
Context? Program? is this on the web? – Lauren Ipsum Oct 17 '12 at 13:31
@LaurenIpsum thanks for your comment. I update my question. – Lorraine Bernard Oct 17 '12 at 13:58
4  
I think this question should go on ux.stackexchange.com as it is a question of user interaction more than anything. – Ryan Oct 17 '12 at 14:42
What's the question? – DA01 Dec 19 '12 at 8:43

closed as off topic by Yisela, Scott, plainclothes, DA01, JohnB Dec 22 '12 at 17:50

Questions on Graphic Design Stack Exchange are expected to relate to graphic design within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

3 Answers

A button or icon on each column header to flip it between normal width and narrow. Narrow is still wide enough to show a glimpse of its content. Let the user choose which columns are to be fully visible and which to make skinny.

share|improve this answer

There are quite a few things you can do to fit your table more efficiently. These are the ones I consider when dealing with large tables:

  • Use horizontal scrolling when the tables need to be bigger and there’s not enough space
  • Turn horizontal space into vertical space (double lines)
  • Have controls to show/hide columns
  • Have compacted columns with less relevant information
  • Use popout rows to reveal extra data
  • Use icons when possible (ex: yes/no)
  • Combine columns when possible

Hope it helps.

share|improve this answer

As Ryan pointed out, this is better suited to UXSE, but as long as it's here I'll offer my solution ...

If you expect the columns and rows to grow beyond the viewport, you'll have to make the headers on both axes "stick". In other words, treat them like frozen rows/columns in a spread sheet app.

The best solution is probably floating divs, though you could do some tricky nested scrolling too. There are plenty of tools to accomplish this between CSS and javascript.

share|improve this answer

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