Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82115

Save to cvs /xcl/pdf not working.... I need help !!!!!!!!!!!!!!!

$
0
0
Hi,
I recently use DataTables(1.9.4) with TableTools(2.1.5), I am trying to export files to pdf and xcl, but i can't make it work.
The Copy button works great, but the other 3 three buttons don't respond when clicked.

Any idea where my problem is?

Here is the code i used :

<script type="text/javascript" charset="utf-8">
			
			/* Table initialisation */
			$(document).ready(function() {
				$('#MyTable').dataTable({
					"sDom": "<'row-fluid'<'span4'l><'span3'T><'span5'f>r>t<'row-fluid'<'span6'i><'span6'p>>",
					"oTableTools": {
						"sSwfPath": "../includes/js/swf/copy_csv_xls_pdf.swf",
						"aButtons": [
							"copy",
							"print",
							{
								"sExtends":    "collection",
								"sButtonText": 'Enregistrer <span class="caret" />',
								"aButtons":    [ "csv", "xls", "pdf" ]
							}
						]
					}
			} );
		</script>

Viewing all articles
Browse latest Browse all 82115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>