TableTools (server-side) using POST and GET fails (hello world output???)

TableTools (server-side) using POST and GET fails (hello world output???)

peipst9lkerpeipst9lker Posts: 11Questions: 0Answers: 0
edited April 2012 in TableTools
Hi, I need to use TableTools without flash, I've read through the forums for possibilities and want to make the export generation server-side.

I used the code snippet download (POST + GET) from http://datatables.net/extras/tabletools/plug-ins

For testing purpose I saved $_POST and $_GET to a textfile to see what happens when I click the button.
The $_GET array is empty and in $_POST there's one string "hello" => "world".

I guess Allan did some testing there and forgot to remove the hello-world test???

Here's the debug result from a test table: http://debug.datatables.net/idupas

Any information would be great, sincerly peipst9lker

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Line 19 here: http://datatables.net/extras/tabletools/plug-ins#download_post . Not really debug, more an example of how variables can be set :-). If you don't want it, just comment it out or remove it :-)

    Allan
  • peipst9lkerpeipst9lker Posts: 11Questions: 0Answers: 0
    Thanks Allan, stupid me haven't seen it :/
    Guess I'll have to work with fnGetData there, thanks!

    peipst9lker
This discussion has been closed.