Table Tools Print View shows "Processing..." after Escape
Table Tools Print View shows "Processing..." after Escape
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!
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!
This discussion has been closed.
Replies
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