"Processing" message shows up behind FixedHeader. How to fix this?

"Processing" message shows up behind FixedHeader. How to fix this?

callahan09callahan09 Posts: 18Questions: 0Answers: 0
edited June 2012 in General
Hi,
If I have my table set up to load a large amount of records on initialization, say 3000, then you will have to wait a few seconds for it to process, but you will not see a "Processing" message. I'm using server-side processing, but I don't believe that has an effect one way or the other on this situation. I see the "Processing" message just fine over other records in the table, for instance if the table is already populated, then it will appear in the middle of the record-set, plainly visible (as long as you're scrolled down to the mid-point of the table). But again, when the message must be displayed on *initial load*, or if for some other reason (such as filtering) there are not currently any records displayed, then the "Processing" message tries to appear over the column headers. Only it appears UNDER the headers, which I assume is unique to the usage of FixedHeader, but haven't tested it by disabling FixedHeader on my table.

My DOM initialization, by the way, is "sDom": 'C<"clear">lfrtip'.

If there is anything I can do to resolve this little issue, that'd be great!

Thanks...

Replies

  • callahan09callahan09 Posts: 18Questions: 0Answers: 0
    Solved my own problem after looking through the FixedHeaders code. Saw that it was fixing the headers with a z-index value. For the top fixed header it was 104, so I just set the z-index of the processing element to 105 and it worked!

    [code]

    .dataTables_processing
    {
    z-index: 105
    }

    [/code]

    Simple as that.
This discussion has been closed.