can't work rowSelect (single or multi)

can't work rowSelect (single or multi)

drouxdroux Posts: 1Questions: 0Answers: 0
edited July 2012 in DataTables 1.9
II can't run the selection of a line (or multi line)
in my layout, I make this links of js library :
[code]


[/code]


in my js file, i do this :

[code]
$(document).ready(function() {
// DataTables init
oTable= $('#list').dataTable({
...
// i try sDom like this and it make this error : ZeroClipboard_TableTools is not defined in TableTools.js (ligne 1221) so I comment it
//"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"sRowSelect": "single"
}

[/code]

My dataTable is displayed but select row don't work and i don't understand why


I'm on :
jquery datatable : 1.9.2
TableTools : 2.1.2
jquery : v1.7.2

Thanks for help
and sorry for my english beacuase I'm french

Replies

  • allanallan Posts: 63,700Questions: 1Answers: 10,501 Site admin
    You must include the sDom to initialise tableTools. If you don't want buttons, then use aButtions: [].

    If you do what the TableTools buttons, you are getting the error because you haven't included ZeroClipboard.js.

    Allan
This discussion has been closed.