Datatables Processing indicator not appearing when scrollX used

Datatables Processing indicator not appearing when scrollX used

DarKimDarKim Posts: 2Questions: 1Answers: 0
edited February 2019 in Free community support

https://jsfiddle.net/DarKim/4dy95rm1/4/

Hi All, I'm really confused as to why in this JSFiddle the 'Processing' indicator seems to not show when the scrollX: is set to true. The Processing indicator should show briefly on init (at top of page- I think this is default behaviour for this to show anyway) - also on clicking the reload button the processing indicator should also appear (about half way down the datatable) - except that it doesn't !! ??

Any ideas appreciated - as I have a datatable with a large amount of data in each cell which forces it to expand to the right too much - the scrollX functionality would be ideal for it - except for the above issue with the processing indicator.

Answers

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin

    That's looking a bit like an error in the stylesheet.

    Add:

    .dataTables_wrapper .dataTables_processing {
      z-index: 1;
    }
    

    to the CSS and it displays as expected.

    Allan

  • DarKimDarKim Posts: 2Questions: 1Answers: 0

    Many thanks Allan - it worked a treat :) :)

This discussion has been closed.