eXtends 'text' not working

eXtends 'text' not working

wahmalwahmal Posts: 1Questions: 0Answers: 0
edited November 2012 in TableTools
why my eXtends 'text' not working ?? but, csv or pdf no problem... this is my code

[code]
$j(document).ready(function() {
var oTable = $j('#tabel_file').dataTable( {

"bProcessing": true,
"bServerSide": true,
"bAutoWidth": false,
"bDestory": true,
"bRetrieve": true,
"sScrollX": "100%",
"sScrollXInner": "130%",
"bScrollCollapse": true,
"sAjaxSource": "file_json.php",
"sPaginationType": "full_numbers",
"aoColumns": [
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"},
{"sClass": "center"}

],
"aoColumnDefs": [
{ "bVisible": false, "aTargets": [0] },
{ "bVisible": false, "aTargets": [2] }
],
"fnServerData": function ( sSource, aoData, fnCallback ) {
aoData.push(
{ "name": "kd", "value": "<?php echo $_GET['kd'];?>" },
{ "name": "database", "value": "<?php echo $_GET['database'];?>" },
{ "name": "content", "value": "<?php echo $_GET['content'];?>" },
{ "name": "min", "value": $j("#min").attr("value") },
{ "name": "max", "value": $j("#max").attr("value") }

);
$j.getJSON( sSource, aoData, function (json) {
fnCallback(json)
})},
"sDom": 'T<"clear"><"H"lfr>t<"F"ip>',
"oTableTools": {
"sSwfPath": "data_tables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf",
"aButtons": [
"csv",
"text" ]
}

} );
$j('#min').blur( function() { oTable.fnDraw(); } );
$j('#max').blur( function() { oTable.fnDraw(); } );

} );[/code]
This discussion has been closed.