fnSort() not display processing dialog

fnSort() not display processing dialog

AndzinSanAndzinSan Posts: 6Questions: 0Answers: 0
edited October 2010 in Bug reports
When i use API function fnSort() there is no displaying processing dialog. I thing this should be.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    How long does the sort take? Browsers tend to try and limit the number of reflows, as this is easily the most expensive operation that they need to perform, so while Javascript is still processing they try to avoid the reflow. DataTables tries to get around this by using a setTimeout() to cause a "thread" break. One way to check this is to put a little debug into the _fnProcessingDisplay function in DataTables.

    Allan
This discussion has been closed.