0

データテーブルのcsvボタンにツールチップを提供するオプションはありますか?このcsvボタンに関する私のコードは次のようなものです。

$('#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
]       
} );

私を助けてください。

前もって感謝します。

4

1 に答える 1

1

sTooltipを使用できます:

"aButtons": [{
  "sExtends": "csv",
  "sButtonText": "Save to CSV",
  "sTooltip": "My CSV button's tooltip",
  "bFooter": false
}]

こちらのフラッシュボタンオプション部分のsTooltipオプションをご覧ください。

編集Srimantaによると、機能するには「sTooltip」が「bFooter」の前にある必要があります。

于 2013-03-21T07:25:37.070 に答える