I am using following codes for making table as grid
oTable = $('#search_table').dataTable({
"bJQueryUI": true,
"sScrollY": "200px",
"bPaginate": true,
//"bAutoWidth": true,
"sPaginationType": "full_numbers",
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"aButtons": [{
"sExtends": "print",
"sMessage": "Generated by DataTables"
}]
},
"aoColumns": [
null,
null,
null,
null,
null,
null,
null, {
"bSortable": false
}, {
"bSortable": false
},
null,
]
});
Question: I need to print the table which is used in datatable plugins. whether any option for print is there with data table plugin.
Thanks in advance…
This add–on might help you: http://www.datatables.net/extras/tabletools/