Button copy how to remove spaces
Button copy how to remove spaces
Jonvil123
Posts: 34Questions: 0Answers: 0
Hi
Please help. how to remove spaces when i copy to notepad it has long spaces from the column which has br for img and a string. Hope u can help me. thanks
$(document).ready(function() {
$('#example').DataTable( {
dom: 'Bfrtip',
buttons: [
'copy'
]
} );
} );
This discussion has been closed.
Replies
You can use the
customize
function. Info can be found here:https://datatables.net/reference/button/copyHtml5
You can find a simple example in this thread:
https://datatables.net/forums/discussion/comment/116184/#Comment_116184
Kevin
Thanks so much. I just update the datatable js. thanks