The "save to csv,exel,pdf" not working[Solved]

The "save to csv,exel,pdf" not working[Solved]

che0poche0po Posts: 9Questions: 0Answers: 0
edited June 2012 in TableTools
Hello,

i've been working a lot on the plugins , trying to customise it . its done :D , but now the save to csv,exel,pdf icons dont work , althow the copy and print one are working.

Im using chrome , so the flash plugin is already in.

I know i've fu***ed up something , but i can t see what ( 2 days working on )

: here is a part of my code

[code]
"sDom": '<"H"TfrlP>t<"F"ip><"clear">',

"oTableTools": {
"sSwfPath": "swf/copy_csv_xls_pdf.swf",
"aButtons": [
{
"sExtends": "collection",
"sButtonText": "Enregistrer",
"aButtons": [ "csv", "xls", "pdf" ]
}
]
} ,

[/code]

Replies

  • che0poche0po Posts: 9Questions: 0Answers: 0
    edited May 2012
    txs for anyhelp
  • che0poche0po Posts: 9Questions: 0Answers: 0
    edited May 2012
    hello , is anybody here ? :p
  • che0poche0po Posts: 9Questions: 0Answers: 0
    is that so hard ?:/
  • allanallan Posts: 63,161Questions: 1Answers: 10,406 Site admin
    Sorry for the long delay - with so many posts it is hard to keep up every day. Priority also goes to paid support customers: http://datatables.net/support . See here for more information as well: http://datatables.net/forums/discussion/9719/how-to-ask-for-help .

    1. Can you give us a link?
    2. What does Firebug / Inspector say?
    3. What does your server error log say?
    4. Can you run your table through the debugger please?

    :-)

    Thanks,
    Allan
  • che0poche0po Posts: 9Questions: 0Answers: 0
    edited May 2012
    http://live.datatables.net/otaxuq/3/edit#javascript for the link :) ( i removed some code from the "aoColumns" )

    im using chrome developper tools . when i press on the "save" button , the screen goes darker ( normal ) , and it's day that the pages loads the swf file . no error

    when i press on the pdf icon for example , nothing happens

    ps: If i acted like " i ask questions and you must answer me now " guy , im sry :/ i d love to use support when i ll work for the company , but now im working for my own :)
  • allanallan Posts: 63,161Questions: 1Answers: 10,406 Site admin
    Your example has a number of errors in it - for example not loading DataTables (404 error). I'd be surprised if that is showing TableTools at all (indeed it isn't since it can't load DataTables). Can you link me to an example which shows the problem you are seeing with the buttons being rendered but not working.

    Allan
  • che0poche0po Posts: 9Questions: 0Answers: 0
    edited June 2012
    here is my full document.ready function


    i dont see any javascript error ?!

    i v'e exchanged my table name with #example , but i can t put the html code here since it s a database connection , which with a "hile row " , print the table in html with echos

    ( if i have time i ll put direct json connection)

    i hope this will help you .
  • che0poche0po Posts: 9Questions: 0Answers: 0
    edited June 2012
    problem solved
This discussion has been closed.