Tabletools in multiselect lines, is not working with bootstrap 3

Tabletools in multiselect lines, is not working with bootstrap 3

andronatandronat Posts: 2Questions: 0Answers: 0
edited February 2014 in TableTools
Hello, I am new to this so if I have some information missing, please let me know so I can provide some more info.


I am trying to use TableTools with sb-admin-v2 template and bootstrap 3. When I am adding these lines:

[code]

$(document).ready( function () {
$('#dataTables-example').dataTable( {
"sDom" : 'T<"clear">lfrtip',
"oTableTools": {
"sRowSelect": "multi",
"aButtons": [ "select_all", "select_none" ]
}
} );
} );

[/code]

I get this error on Google Chrome:

Uncaught TypeError: Object [object Object] has no method 'live' TableTools.js:1027

and on Safari:

[Error] TypeError: 'undefined' is not a function (evaluating '$('tr', dt.nTBody).live') TableTools.js, line 1027

Thanks

Replies

  • andronatandronat Posts: 2Questions: 0Answers: 0
    Oh, my bad. I took the TableTools code from the DataTables examples. And the version is 2.1.4 I put 2.2.0 and is working great! Sorry for the inconvenience.
  • allanallan Posts: 57,263Questions: 1Answers: 9,121 Site admin
    Good to hear the new version works.

    Allan
This discussion has been closed.