how to change button title for example Print button to anything or search title ?
how to change button title for example Print button to anything or search title ?
Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
how to change button title for example Print button to anything or search title
what 's file js should be changed?
https://code.jquery.com/jquery-3.5.1.js
https://cdn.datatables.net/1.12.0/js/jquery.dataTables.min.js
https://cdn.datatables.net/buttons/2.2.3/js/dataTables.buttons.min.js
https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js
https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/pdfmake.min.js
https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/vfs_fonts.js
https://cdn.datatables.net/buttons/2.2.3/js/buttons.html5.min.js
https://cdn.datatables.net/buttons/2.2.3/js/buttons.print.min.js
Answers
You can use the button's
text
property - see example here,Colin