datatable ajax loading should be on screen

datatable ajax loading should be on screen

hamzakhan.devhamzakhan.dev Posts: 1Questions: 1Answers: 0

How I can make datatable ajax loading should be on active screen rather then in the middle of the grid?

Answers

  • tangerinetangerine Posts: 3,350Questions: 37Answers: 394
    edited June 2017

    .....on active screen rather then in the middle of the grid?

    I don't understand the distinction. Surely "the middle of the grid" would be on the "active screen"?
    Unless you are talking about the placement of the "loading" text on the table, in which case it's a matter of amending the relevant CSS, which offhand I can't remember.

  • rduncecbrduncecb Posts: 125Questions: 2Answers: 28

    Try adding this css:
    It changes the processing div to be the center of the page rather than the datatable.

    div.dataTables_wrapper div.dataTables_processing {
    position: fixed !important;
    }

This discussion has been closed.