TableTools not export CSV and Excel. Help me please
TableTools not export CSV and Excel. Help me please
Hi allan
I'm thai. I'm sorry about the English language. My problem is TableTools not export CSV and Excel,but coppy to clibbord and print preview Success. This is my code,css file and js file.
[code]
@import "css/demo_page.css";
@import "css/demo_table.css";
@import "css/demo_table_jui.css";
@import "css/jquery-ui-1.7.2.custom.css";
@import "css/TableTools.css";
$(document).ready(function() {
TableToolsInit.sSwfPath = "swf/ZeroClipboard.swf"; //my directory
$('#example').dataTable( {
"bProcessing": true,
"bJQueryUI": true,
"sAjaxSource":'my json format data',//example
"aaSorting": [[ 4, "desc" ]],
"sPaginationType": "full_numbers",
"sScrollX": "100%",
"sScrollXInner": "200%",
"bScrollCollapse": true,
"oLanguage": {
"oPaginate": {
"sFirst": "???????", //first
"sPrevious": "????????",//previous
"sNext": "?????",//next
"sLast": "???????????"//last
}},
"sDom": '<"H"lTfr>t<"F"ip>'
} );
} );
NewContactMainSel
????
subzone
areas
size
??????
????????
???????????
????????????
?????????
???????
?????????
total
total/sqm
rev o
o net
ar R
status
dealID
?????????????????? server
[/code]
Thank you very much.
I'm thai. I'm sorry about the English language. My problem is TableTools not export CSV and Excel,but coppy to clibbord and print preview Success. This is my code,css file and js file.
[code]
@import "css/demo_page.css";
@import "css/demo_table.css";
@import "css/demo_table_jui.css";
@import "css/jquery-ui-1.7.2.custom.css";
@import "css/TableTools.css";
$(document).ready(function() {
TableToolsInit.sSwfPath = "swf/ZeroClipboard.swf"; //my directory
$('#example').dataTable( {
"bProcessing": true,
"bJQueryUI": true,
"sAjaxSource":'my json format data',//example
"aaSorting": [[ 4, "desc" ]],
"sPaginationType": "full_numbers",
"sScrollX": "100%",
"sScrollXInner": "200%",
"bScrollCollapse": true,
"oLanguage": {
"oPaginate": {
"sFirst": "???????", //first
"sPrevious": "????????",//previous
"sNext": "?????",//next
"sLast": "???????????"//last
}},
"sDom": '<"H"lTfr>t<"F"ip>'
} );
} );
NewContactMainSel
????
subzone
areas
size
??????
????????
???????????
????????????
?????????
???????
?????????
total
total/sqm
rev o
o net
ar R
status
dealID
?????????????????? server
[/code]
Thank you very much.
This discussion has been closed.
Replies
TableToolsInit.sSwfPath = "TableTools/media/swf/ZeroClipboard.swf";
I'm tried to do it. but, it unsuccessful
[code]TableToolsInit.sSwfPath = "swf/ZeroClipboard.swf";[/code] My directory is swf/ZeroClipboard.swf
It show icon coppy clibbord,CSV,Excel and print.It clicked.but,It not show dialog to save Excel and CSV.
this is my dataTable.
http://www.uppicweb.com/show.php?id=d60675b8688744e637c2ccc00c5bec2f
But not show this.
http://www.uppicweb.com/show.php?id=3b1b9528d07992cdc04af4cf6e37dbea
Help me please.
Thank you.
I use this code to generate excel files. http://px.sklar.com/code.html/id=488
With jquery and this functions it is easy to develop an utility to read a table and export it to excel.
hope this helps you!
I'm not understand. I have a preview video.
http://www.youtube.com/watch?v=azsx8qJ9ySw
What is my problem.please help me.