oTableTools Buttons : Display Text but it is disabled | hidden by options
oTableTools Buttons : Display Text but it is disabled | hidden by options
PeteMitchel
Posts: 2Questions: 0Answers: 0
In 1.9.0 - i use it [Datatables] as a class. If i have two tables with same class name [sortable_table] the first one of these table will display the buttons without TEXT [like Copy | XLS ... ] that is fine but the sec one will display it with Text and that is not ok ;D you know what i mean
[code]
$('.sortable_table').dataTable( {
"oTableTools": {
"aButtons": [
{
"sExtends": "copy",
"sButtonText": "",
"sToolTip": "Copy to clipboard"
},
{
"sExtends": "pdf",
"sButtonText": "",
"sPdfOrientation": "landscape",
"sPdfMessage": "PDF Output.",
"sFileName": " Export - *.pdf",
"sToolTip": "Save as PDF"
},
[/code]
[code]
$('.sortable_table').dataTable( {
"oTableTools": {
"aButtons": [
{
"sExtends": "copy",
"sButtonText": "",
"sToolTip": "Copy to clipboard"
},
{
"sExtends": "pdf",
"sButtonText": "",
"sPdfOrientation": "landscape",
"sPdfMessage": "PDF Output.",
"sFileName": " Export - *.pdf",
"sToolTip": "Save as PDF"
},
[/code]
This discussion has been closed.
Replies