Take the 2-minute tour ×
User Experience Stack Exchange is a question and answer site for user experience researchers and experts. It's 100% free, no registration required.

Possible Duplicate:
Most intuitive way to offer manual sorting?

I have a web application that uses many table rows. Each row typically has an ordering field, and the client just put a number in that field to order the rows inside the table. It was pretty basic and simple implementation, and he was fine with it because obviously it didn't cost him very much money for me to program it this way ;)

Now he has expanded these screens to other people, so the usability needs to be improved. What is the best practice usability-wise for web users for reordering table rows?

Some ideas I thought of:

  1. Click and drag the rows and place them in-between rows, highlighting the line of where the row is going to be placed.

  2. Offer Up/Down arrows, and simply gray-out the arrows when it has reached the top or the bottom of the listing.

The up/down arrows seems like the easiest solution to implement, but it would only work after they inserted a row into the table. Is that kind of weird? I'm not sure.

Which option do users find the best? Any other options I hadn't considered?

Thanks!

share|improve this question
add comment

migrated from stackoverflow.com Nov 6 '11 at 22:27

This question came from our site for professional and enthusiast programmers.

marked as duplicate by Patrick McElhaney Nov 6 '11 at 23:21

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

up vote 1 down vote accepted

Take a look at jquery sortable : http://jqueryui.com/demos/sortable/. I find that user-friendly.

share|improve this answer
    
That's a pretty neat little library. I didn't know it existed since I don't use javascript much except for the basic jquery and a few plugins beyond this. Thanks! –  egervari Nov 6 '11 at 22:44
add comment

option 2 sounds better. 1, I can only see being of any use with a finite data source but even them I'm having trouble seeing the point eg "sort my best friends to the top of this list" or "sort my top contact to the top of this list" or "this is my favourite music" cf where the sorting is dependent on subjective heuristics and where col sorts would fail.

btw option 2 best way: place sorts on key attribute columns; you don't need to place sorts on every column

c

share|improve this answer
    
Yeah, 2 does seem better. In this case, the sorting is arbitrary. There is no good column to sort on. –  egervari Nov 6 '11 at 22:44
add comment

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