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.

My web app displays a simple table. Users can order their data by clicking on the column headers (quite standard).

We now are making background calls (ajax) so that data we are displaying might change suddenly.

My question is: if I sort by (let's say) price and then the price of something changes should I move the entire row so that the grid remains ordered ? Or is it more intuitive to appreciate that the order in the data must have been broken because of an update ?

share|improve this question
    
If we've answered your question, you can select the best solution so that if anyone comes across the same problem in the future, they know the course of action. –  dnbrv Feb 7 '12 at 18:42
add comment

2 Answers

Give the user the choice. Provide them with a toggle so that they can view 'Live' results as well as the static ones.

For the 'static' results make sure that you include a timestamp so that the results are then 100% accurate.

For the 'Live' results then you'll need to indicate when an item has moved position. If you're using jQuery or some other AJAX method then there will be options out there for this. Either showing the row physically moving into place (if changes aren't particularly frequent) or emphasising each row that has changed position with a colour/contrast change or a position movement indication '▲+2', '▼-4' etc.

share|improve this answer
    
thanks. I think you are particularly right in saying that I have to give the user's the choice. –  chack Jan 19 '12 at 16:10
    
I might select yours as best answer but I will wait in case other people want to add something. –  chack Jan 19 '12 at 16:51
    
@chack that's fine, IMO you shouldn't be in a hurry to accept an answer anyway; it may put people off providing other responses. –  JonW Jan 19 '12 at 17:01
add comment

Put yourself in your user's shoes:

You're using the app. You have some data on the screen. You sort the data and suddenly something looks strange. You're pretty sure that a moment ago that the row with A had value of 3 and now it's 7. What in the world has happened?

To avoid such confusion, your app should sort & display the last downloaded data set.

If you do automatic updates, the app should prompt the user to load the latest data and, ideally, indicate the changes by a combination of brief highlighting of the changed rows and arrows showing the direction of change (up/down) but this depends on the screen space availability.

share|improve this answer
add comment

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.