Processing indicator not showing after ajax.reload()

Processing indicator not showing after ajax.reload()

poisonspoisons Posts: 25Questions: 3Answers: 0
edited October 30 in Free community support

Is it normal behavior for the processing indicator, not appearing on ajax.reload if there are more than 25 entries?

In my particular case it doesn't appear if the page length is more than 25.
Even if I set paging to false.

Before posting the code and set an example, there's something else I can try? or is this a common behavior?

Answers

  • Joshua44Joshua44 Posts: 3Questions: 0Answers: 0

    The processing meaning fails to show when you have more than 25 entries looks to be an uncommon problem. Typically, the indication ought to show up spite of the page settings or the quantity of entries. Try looking for any conflicting CSS or JavaScript that might be driving the indicator's visibility before delving into the code. Additionally, make sure that the AJAX request's private settings are configured correctly.
    Null Brawl APK

  • poisonspoisons Posts: 25Questions: 3Answers: 0
    edited October 30

    I found the problem. With more than 25 items, the table was so long that the spinner appeared down over the screen limit. Is there an option to set the default spinner to appear vertically at the top of the table and not centered?

  • rf1234rf1234 Posts: 2,988Questions: 87Answers: 421

    I use this CSS to fix the processing indicator. But that is for an older DT-version. Just check it out and modify it according to your needs.

    .dataTables_wrapper .dataTables_processing {
        position: fixed !important;
        top: 50% !important;
    }
    
  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin
    div.dt-container div.dt-processing {
    
    }
    

    would be the equivalent CSS selector for DataTables 2+.

    Allan

Sign In or Register to comment.