TableTools not transferring Ajax grid data to (copy, xls, pdf)

TableTools not transferring Ajax grid data to (copy, xls, pdf)

CerealKillerCerealKiller Posts: 1Questions: 0Answers: 0
edited October 2013 in TableTools
Hello!
Long time reader, first time poster...So here is the dilemma, my buttons work! just to get that out of the way of it being the flash piece, what is not happening however is the data in the grid is not being transferred over to the selected option. I can see the header just fine, just no data. When I choose "Copy" it states 0 rows were selected... this has me stumped because I cannot seem to find any other posts related to this issue.

Here are the files I am using:
[code]








[/code]

Here is the JS script:
[code]


$(document).ready(function () {
var oTable = $('#example').dataTable({
"bPaginate": false, "bInfo": false, "bFilter": false, "bSort": false, "bServerSide": true
});
var oTableTools = new TableTools(oTable, {
"buttons": [
"copy",
"csv",
"xls",
"pdf",
{ "type": "print", "buttonText": "Print me!" }
],
"sSwfPath": "../Content/DataTables/copy_csv_xls_pdf.swf"
});
$('#demo').before(oTableTools.dom.container);
});


[/code]

The HTML markup:
[code]

Search Requests









Col1
Col2
Col3
Col4
Col5
Col6
Col7
Col8
Col9
Col10
Col11






[/code]

Thank-You in advance for taking a few minutes out to look at this issue, I really appreciate it.

Bryan

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Hi Bryan,

    That's odd! Are you able to link us to a test case so we can debug it please?

    Allan
This discussion has been closed.