Print option produces "No matching records found".

Print option produces "No matching records found".

imdbimdb Posts: 1Questions: 0Answers: 0
edited April 2014 in TableTools
Print option produces "No matching records found". The table shows up fine, CSV, PDF, COpy options work fine. Bellow is js for datatable.

Can't figure out why Print resets results.


$(document).ready(function () {
$('#listtable1').dataTable({
"bServerSide": true,
"sAjaxSource": "@Url.Action("SearchCampaigns", "Ajax")",
"sPaginationType": "full_numbers",
"bProcessing": true,
"aoColumns": [
{ "sName": "Description" },
{ "sName": "Filtered URL" },
{ "sName": "Unfiltered URL" }
],
"fnServerData": function (sSource, aoData, fnCallback) {
$.ajax({
"dataType": 'json',
"type": "GET",
"url": sSource,
"data": aoData,
"success": fnCallback
});
},

sDom: "<'row'<'dataTables_header clearfix'<'col-md-4'l><'col-md-3'Tf>r>>t<'row'<'dataTables_footer clearfix'<'col-md-6'i><'col-md-6'p>>>",
oTableTools: {
aButtons: ["copy", "print", "csv", "xls", "pdf"],
sSwfPath: "@Url.Content("~/js/datatables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf")"
}
});
});
This discussion has been closed.