Table Tools Print View shows "Processing..." after Escape

Table Tools Print View shows "Processing..." after Escape

shimy1984shimy1984 Posts: 7Questions: 0Answers: 0
edited October 2009 in General
Hey Allen,

While using server side code, when you press the "print" button then the escape key to exit "print view", the "Processing..." div shows up for no apparent reason. It disappears after sending a request to the server side script.

Any ideas on how to resolve this bug?

Thanks!

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Hi shimy1984,

    The reason for this (I'm guessing slightly as I don't have an example to work with at the moment - if you were able to post a link - that would be very useful) is that DataTables sets the length of the table to -1 (i.e. all records) for the print, and then does a draw. With server-side processing this requires a request to the server, hence why the 'Processing' is showing up.

    Regards,
    Allan
This discussion has been closed.