Reposition AJAX processing spinner

Reposition AJAX processing spinner

bbrindzabbrindza Posts: 293Questions: 66Answers: 1

I have incorporate a fontawesome spinner when loading AJAX data. It works fine, however I have been trying to figure out how to move it higher up in the table. Any thoughts?

  language: {
                processing:  '<i class="fa fa-sync fa-spin fa-2x fa-fw"></i><span>  Loading Data...</span>' 
                  } ,

This question has an accepted answers - jump to answer


  • tangerinetangerine Posts: 3,340Questions: 35Answers: 394
    Answer ✓

    I have this in my CSS:

    .dataTables_wrapper .dataTables_processing {
    position: absolute;
    top: 15% !important;

    There may be better ways.

  • bbrindzabbrindza Posts: 293Questions: 66Answers: 1

    Works as I would expect. Thank you tangerine.

  • rf1234rf1234 Posts: 2,709Questions: 82Answers: 393

    That's precisely what I needed, too! Thanks tangerine!

Sign In or Register to comment.