Tooltip on the buttons
Tooltip on the buttons
jollykh
Posts: 1Questions: 1Answers: 0
Hello,
I was just wondering how you can incorporate a tooltip/title for the buttons so that when I hover over them a small message appears.
From this example, it's hard to decipher:
$(document).ready(function() {
$('#table').DataTable( {
dom: 'Bfrtip',
buttons: [
'copy', 'csv', 'excel', 'pdf', 'print'
]
} );
} );
Thank you!
This discussion has been closed.
Answers
Use the
buttons.buttons.titleAttr
option.Allan