Not able to add copy, print button in the table
Not able to add copy, print button in the table
visvak
Posts: 1Questions: 1Answers: 0
Hello,
I am not able to add the copy,print button. my code is below
$('#sample').dataTable({
'paging': true, // Table pagination
'ordering': true, // Column ordering
'info': true, // Bottom left status text
// Text translation options
// Note the required keywords between underscores (e.g MENU)
oLanguage: {
// sSearch: 'Search all columns:',
sLengthMenu: '_MENU_ records per page',
info: 'Showing page _PAGE_ of _PAGES_',
zeroRecords: 'Nothing found - sorry',
infoEmpty: 'No records available',
infoFiltered: '(filtered from _MAX_ total records)',
dom: 'T<"clear">lfrtip',
tableTools: {
"sSwfPath": "/swf/copy_csv_xls_pdf.swf"
}
},
});
Please correct it i have done any mistake
This discussion has been closed.