Is there any option to provide tooltip for csv button in datatables? My code regarding this csv button is like:
$('#example').dataTable( {
"bProcessing": true,
//"bServerSide": true,
"sAjaxSource": "datatabledb.php",
"bJQueryUI": true,
"sPaginationType": "full_numbers",
//"sDom": 'T<"clear">rt',
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"aButtons": [
{
"sExtends": "csv",
"sButtonText": "Save to CSV",
"bFooter":false }
]
},
"oLanguage": {
"sSearch": "Search all columns:"
},
"aoColumns": [
null,
{ "bSortable": false }, // disable the sorting property for checkbox header
null,
null,
null,
null,
null,
null,
null,
null
]
} );
Please help me.
Thanks in advance.
You can use sTooltip :
"aButtons": [{
"sExtends": "csv",
"sButtonText": "Save to CSV",
"sTooltip": "My CSV button's tooltip",
"bFooter": false
}]
Please see sTooltip options in Flash button options part here
Edit According to Srimanta, "sTooltip" need to precede "bFooter" to work.