Does the order of buttons of TableTools matter?

Does the order of buttons of TableTools matter?

machinariummachinarium Posts: 17Questions: 0Answers: 0
edited October 2013 in TableTools
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

Replies

  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin
    No the order shouldn't matter. Please link to a test case showing the problem so we can debug it.

    Allan
  • machinariummachinarium Posts: 17Questions: 0Answers: 0
    Hi, 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.
This discussion has been closed.