Failing Export and missing copy message

Failing Export and missing copy message

fabianrottfabianrott Posts: 30Questions: 1Answers: 0
edited June 2015 in Bug reports

Hi,
first of all, I'm sorry I can't provide a link or use live.Datatables.net or http://jsfiddle.net/. I've tried to create a simple example for my bug report, but I wasn't able to. The TableTool buttons just don't want to appear for me...

Now for my bug report:

When I press the (TableTool) copy button, usally a message pops up ("Table copied - Copied x rows to the clipboard"). But if my table has any field containing the value \" the message does not appear. The Javascript error message from the log is: "SyntaxError: missing ) after argument list". If a field contains two \" the error message changes to "SyntaxError: illegal character".

But the worse thing is, when I hit the export buttons (csv or pdf) the export stops at the row containing the \" value and creates the file without mentioning the occured exception. So the user thinks the export was successful, although the exported file holds just a part of the data. The Javascript error message from the log is: "SyntaxError: illegal character"

I'm using Datatables 1.10.0. and TableTools 2.2.4.

Greetings, Mathias

This discussion has been closed.