User Experience Stack Exchange is a question and answer site for user experience researchers and experts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

enter image description here

Here - I don't want to repeat the same ID, first name and last name to all the subjects so I used expand buttons. - This approach significantly reduces number of rows that are visible when all the rows are in a collapsed state.

But here one drawback is that, if number of subjects are say 10, I am leaving lots of vacant space ( marked with red border ). So need better solution on this problem. Popup is one of the approach but I would prefer any better approach.

share|improve this question
up vote 23 down vote accepted

Maybe try having the scoring information appear as a sub-heading under the student's row when you expand it? Something like this.

enter image description here

You'll want to be careful to stylistically de-empasize the sub-headings so that they are obviously part of the expanded row rather looking like the start of a new table.

share|improve this answer
2  
+1 for considering hierarchy and efficient design – Peter Arthur yesterday
    
I thought about this but isn't it confusing to include a second level of columns (or a table inside a table)? It might look like Subject 1, Subject 2, are also IDs. – Alvaro yesterday
    
@Alvaro Trading a bit of legibility for a significantly more compact design seems to line up pretty well with the OP's goals. It's certainly a more difficult design to sell, but with a bit of care (maybe a bit more than I exerted here) I think it's entirely doable. – Jim yesterday
    
Perhaps you could put the sub-table in a box, so it looks more separate. EDIT: Never mind, just seen this answer that says the same. – wizzwizz4 yesterday
1  
@wizzwizz4 to my mind I want the sub-info to read as an extension of the student row rather than such a distinctly separate thing. If it were me I'd rig up an animation to go off when the expand button is clicked so that the additional information is revealed as the row's height grows. – Jim yesterday

Tweaking Jim's answer...

tweak jim

...adding a bit more distinction. Boxing in the child table, vertical lines separating columns, instead of horizontal as in the parent table.

.

Inspired by Tonny's comment, here's some indented examples, for your consideration:

indent 1

indent 2

indent fav

share|improve this answer
    
hmm... it does actually look a lot cleaner! – dalearn 19 hours ago
    
I like this one, but I would probably "indent" the subjects sub-table a little bit so there is some larger space between its left border and the left border of the ID column. Maybe put the left border of the subjects column in line with the left border of the expand/collapse boxes. – Tonny 17 hours ago

A little bit cleaner and following @Bergi and @CoDEmanX suggestions.

enter image description here


Original:

When you expand a row, what you have is:

enter image description here

As the ID, First Name and Last Name is common to all the subjects the info is repeated in each row.

One way to prevent repeating those common fields, and not change the table layout is to use a single field which represents several columns. To reinforce the clarity I suggest adding the borders to each element.

enter image description here

share|improve this answer
1  
Maybe even omit the vertical border between last name and subject. – Bergi yesterday
1  
[-] 001 ABC PQR should stay aligned to the top IMO, so that it does not "jump" when expanding or collapsing. As long as there are vertical and horizontal lines for the subjects, marks and percentages, it should be clear that ID, First Name and Last Name apply to all rows to the right. – CoDEmanX yesterday
1  
Don't use JPG for non-photographic images! – Andreas Rejbrand 14 hours ago
    
I like this design but it only slightly solves the problem of the white space that the OP wanted to solve. It only removes one row of white space from the right half of the table but you still have all the white space on the left half. If you have a bunch of subjects (like 10 as the OP states) then you will have a lot of white space. – Kodos Johnson 14 hours ago
    
@KodosJohnson White space correctly displayed in a layout can help better understand the content. I didn't really understood there was a space restriction problem and that the table should occupy less. But rather that there were repeated fields and too much white space, which isn't a problem per se and I believe its not an issue in this case. Anyway, the other answers provide good solutions to display the form in a more compact way :) – Alvaro 13 hours ago

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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