Does the order of buttons of TableTools matter?
Does the order of buttons of TableTools matter?
machinarium
Posts: 17Questions: 0Answers: 0
Hi, all,
First I have to say TableTools is a very excellent extras for DataTables. However I am encountering this problem. Here is the code when I click 'Excel' button, nothing happens, however when I click select_all, it behaves just like clicking 'Excel' button. It seems that the functionality of 'Excel' button transfers to the button 'Select All'.
[code]
...
"oTableTools": {
"sRowSelect": "multi",
"sSwfPath": "/Assets/TableTools/media/swf/copy_csv_xls_pdf.swf",
"aButtons": [
"select_all",
"select_none",
"xls"
],
...
},
...
[/code]
Only when I put "xls" before "select_all', everything goes back to normal. So is there any documentation about this? Or not, how to fix this? Thanks.
Best regards,
Jingfei
First I have to say TableTools is a very excellent extras for DataTables. However I am encountering this problem. Here is the code when I click 'Excel' button, nothing happens, however when I click select_all, it behaves just like clicking 'Excel' button. It seems that the functionality of 'Excel' button transfers to the button 'Select All'.
[code]
...
"oTableTools": {
"sRowSelect": "multi",
"sSwfPath": "/Assets/TableTools/media/swf/copy_csv_xls_pdf.swf",
"aButtons": [
"select_all",
"select_none",
"xls"
],
...
},
...
[/code]
Only when I put "xls" before "select_all', everything goes back to normal. So is there any documentation about this? Or not, how to fix this? Thanks.
Best regards,
Jingfei
This discussion has been closed.
Replies
Allan
I solved the problem myself. Bootstrap is integrated with dataTables. But I mistakenly removed the css class 'btn-group' in http://datatables.net/media/blog/bootstrap_2/DT_bootstrap.js, which makes the Adobe Flash Player control's position messed up with other TableTools buttons.