i downloaded DataTables-1.9.4 and trying to run it, but Excel,CSV,PDF and Copy is not working only print option is working,I followed all steps given in document. please share the code which running with all files saving.
Asked
Active
Viewed 5,472 times
-1
-
1Please give us more detail.. – SaturnsEye Aug 28 '13 at 08:42
-
downloaded the zip file from the link http://datatables.net/download/ – PSSR Aug 28 '13 at 08:47
-
1and opened extras->TableTools and trying index lunch in chrome – PSSR Aug 28 '13 at 08:49
-
I guess it should work without any changes. – PSSR Aug 28 '13 at 08:50
-
but pdf,csv,excel and copy functionality is not working – PSSR Aug 28 '13 at 08:51
2 Answers
1
You should run this in localhost,For me also this problem occurred, I tried to run it in Apache 2.2 in that also no use. then I applied it with Django+Apache2.2 it is working fine.

SHIVA73
- 208
- 1
- 3
- 10
0
Unlike print button table tools works on Flash.
Make sure you have flash player installed.
Also the file copy_csv_xls_pdf.swf is present in your project folders and mentioned in right path like the example at http://datatables.net/extras/tabletools/
Check in console whether you have any errors.

Aswin Prasanth
- 36
- 5
-
I didn't installed any flash player,Please share flash player download link and settings if any. – PSSR Aug 28 '13 at 08:53
-
http://get2.adobe.com/flashplayer/ U can get flash player for your OS and browser here. No settings. Just install and restart browser. – Aswin Prasanth Aug 28 '13 at 08:57
-
I saw in one of your comments that you are using chrome browser. It has inbuilt flash. So you dont have to install anything. Check the browser console in developer tools (F-12) for errors. – Aswin Prasanth Aug 28 '13 at 09:05
-
I have checked the console errors but there is no error and with example link http://datatables.net/extras/tabletools/ pdf,csv,excel and copy functionality are working – PSSR Aug 28 '13 at 09:19
-
please help me any one all features of DataTables-1.9.4 are working fine except this pdf,excel,CSV and copy. – PSSR Aug 28 '13 at 09:31
-
-
-
U may have missed any of these resources jquery.js,jquery.dataTables.js,ZeroClipboard.js,TableTools.js,TableTools.css Include all these css or js in your code and see if it still doesnt work – Aswin Prasanth Aug 28 '13 at 10:27
-
here is the working code http://jsfiddle.net/mngxG/. Note that there are 5 external resources and jquery library included. – Aswin Prasanth Aug 28 '13 at 10:34
-
-
Ok. Please go through the fiddle and tell me if any issues are there. – Aswin Prasanth Aug 28 '13 at 10:36
-
1can you please download the Zip file from the link datatables.net/download and test it once – PSSR Aug 28 '13 at 10:37
-
Yes that too works. But a quick thing though are you by any chance running it as html files ? I mean browser url will be like file:///
.html ?? If so run as localhost/folder/filename.html like that. – Aswin Prasanth Aug 28 '13 at 10:47 -
i tried that but getting error page like Oops! Google Chrome could not connect to localhost – PSSR Aug 28 '13 at 10:57
-
-
If you are new to development try learning some things first about webserver,webapplication etc. How to run a website in local. If you are working at some place try and get help from others there about them otherwise do search on google and find out :). Your code would work if you run with localhost I guess. if localhost/ give the error like you said. Its most probably that your system is not configured with a web server. – Aswin Prasanth Aug 28 '13 at 11:09