print scrollable datatable.
print scrollable datatable.
mlov83
Posts: 3Questions: 1Answers: 0
im using datatables along with the table tools. Ive got everything to work just fine except that i cannot for the life of me print a datatable that includes a scroll on it. So i onther words i have code like this.
[code]
oTable = $("#" + ParseTable).dataTable({
//"bFilter": true,
"sScrollY": "250px",
"bScrollCollapse": true,
"bPaginate": false,
"bAutoWidth": false,
"bRetrieve": true,
"bSortClasses": false,
"sDom": 'T<"clear">lfrtip'
});
[/code]
the [code]"sScrollY": "250px", [/code] takes my table with 1000 records and makes it scrollable. My problem is that when i use the print button the scrollable part does not go away in the example on the page is examples page is appears that it does?. Is there anything else i should be doing?
Any help would be greatly appreciated.
Miguel
[code]
oTable = $("#" + ParseTable).dataTable({
//"bFilter": true,
"sScrollY": "250px",
"bScrollCollapse": true,
"bPaginate": false,
"bAutoWidth": false,
"bRetrieve": true,
"bSortClasses": false,
"sDom": 'T<"clear">lfrtip'
});
[/code]
the [code]"sScrollY": "250px", [/code] takes my table with 1000 records and makes it scrollable. My problem is that when i use the print button the scrollable part does not go away in the example on the page is examples page is appears that it does?. Is there anything else i should be doing?
Any help would be greatly appreciated.
Miguel
This discussion has been closed.
Replies