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.

If I have a large table of data that when sorted take like 5-10 secs to sort, is it a better UX to just do a page post back or better to add a loading image and use ajax call?

share|improve this question
    
You generally get better answers if you show what prior research you have done and what your use-case is as different contexts would result in different answers. I.E. if your users are customers on an e-commerce site versus business analysts using a reporting interface 5-10 seconds can mean a world of difference. As it stands now your question is incredibly broad and unqualified. –  Charles Wesley Mar 18 '13 at 23:31
add comment

1 Answer 1

up vote 2 down vote accepted

If time is actually around 5 seconds, having a circular (uncontrolled) gif would do but if the time is around 10 seconds, then you need a loading bar which show how much is done and how much is left.

BUT

Such a delay is poor UX as ajax has changed user's expectations and even when there is large data to load, user expects he would be shown some data straight-away and more will keep loading while he makes use of loaded one. So if it possible, provide loading in segments and don't make your user wait at all.

share|improve this answer
    
Ah, I see so paging may be a better option. –  Stokes Mar 18 '13 at 22:32
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.