Callback *before* sort

Callback *before* sort

LukeGaleaLukeGalea Posts: 1Questions: 0Answers: 0
edited March 2013 in General
Hi all,

We have a large table and when clicking on a header to sort, it takes a noticeable amount of time. We'd like to update the UI to indicate something is happening and then clear the notice after the sort is complete.

I haven't quite sorted out if the fnSortListener is only called after the sort has already occurred, or if the issue is that it's called but then the sort is done without a setTimeout so there's no opportunity to update the UI before the work occurs. Either way, I guess my question is:

How does one update the UI during an intensive operation like sorting?

Thanks

Replies

  • allanallan Posts: 63,522Questions: 1Answers: 10,473 Site admin
    bProcessing should show an indication that sorting is occurring when the header cells are clicked on.

    Allan
This discussion has been closed.