TableTools : NOT WORKING

TableTools : NOT WORKING

tester1tester1 Posts: 53Questions: 14Answers: 1
edited July 2014 in Free community support

I AM USING http://datatables.net/extensions/tabletools/ ... in my local-host ( wamp server ) its working fine... but when i putted same code on my Online server .. it is not working ...

tableTools: {
                            "sSwfPath": "https://datatables.net/release-datatables/extensions/TableTools/swf/copy_csv_xls_pdf.swf",
                            "sRowSelect": "os",
                            "sRowSelector": 'td:first-child',
                            // "aButtons": [ "copy", "csv", "xls","pdf","print","select_all", "select_none" ]
                            "aButtons": [
                                            "copy",
                                            "print",
                                            {
                                                "sExtends":    "collection",
                                                "sButtonText": "Save", // button name 
                                               // "aButtons":    [ "csv", "xls", "pdf" ]
                                                "aButtons": [
                                                                "csv",
                                                                "xls",
                                                                {
                                                                    "sExtends": "pdf",
                                                                    "sPdfOrientation": "landscape",
                                                                    "sPdfMessage": "List of product."
                                                                },
                                                                "print"
                                                            ]
                                            }
                                        ]
                        }

firstly there was no click on Copy , pdf , csv , xls button .. hence i taught my path or swf is not working hence i replace the link with online link ... hence now i get click .. but when i click Copy button its give me message.... but when i past in my notepad its giving me "blank ".... also my pdf ,csv,xlx is not working .... Only Print is working perfect ... please let me know what is issues .. as in my localhost all is working fine ... its creating issues in my Online server ....

Answers

  • tester1tester1 Posts: 53Questions: 14Answers: 1

    hey Allan ,

    Please help me ... i search a loot and found this issues is face by many people

  • allanallan Posts: 61,439Questions: 1Answers: 10,053 Site admin

    Please follow the forum rules and link to a test case showing the issue. As you can see on this site, it does work, so there much be a problem with your install - hence why we need a link to provide any help.

    Allan

  • tester1tester1 Posts: 53Questions: 14Answers: 1
    edited July 2014

    hey allan .. thanks .. but i am not aware of test case ..means i havent used that all .. but sure will try for next time ... also same above post ... i had request on stack overflow and i have got solution ... but when i download pdf file i can see only my first record with word "SELECT" AT SIDE ... others thats csv execl are working properly .. now facing same issues in localhost too

    ref : http://stackoverflow.com/questions/24837595/jquery-datatables-tabletools-not-working?noredirect=1#comment38567939_24837595

  • tester1tester1 Posts: 53Questions: 14Answers: 1
    edited July 2014

    Hey :

    i got to know when i remove columnDefs from below code then my PDF shows proper records ... btw my csv , excel , print diplay proper record with columnDefs .. only pdf is not showing proper record with "columnDefs"

    and i got to know the word which is seen " select " is because of that only ..as i have use dropdown in columndefs

    pls check : http://stackoverflow.com/questions/24837595/jquery-datatables-tabletools-not-working/24860567#24860567

This discussion has been closed.