Reposition AJAX processing spinner

Reposition AJAX processing spinner

bbrindzabbrindza Posts: 222Questions: 53Answers: 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

Answers

  • tangerinetangerine Posts: 3,244Questions: 30Answers: 385
    Answer ✓

    I have this in my CSS:

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

    There may be better ways.

  • bbrindzabbrindza Posts: 222Questions: 53Answers: 1

    Works as I would expect. Thank you tangerine.

  • rf1234rf1234 Posts: 2,445Questions: 78Answers: 353

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

Sign In or Register to comment.