TableTools example - multi-row select is not working
TableTools example - multi-row select is not working
I have followed the example from this link: http://datatables.net/release-datatables/extras/TableTools/select_multi.html
This is my init code:
$(document).ready( function () {
$('#companies').dataTable( {
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"sRowSelect": "multi",
"aButtons": [ "select_all", "select_none" ]
}
} );
This is my body code:
Company name
Address
Town
ABC
ABC Street
Town1
Dell
Car street
Town2
I don't know, what is wrong here. I'm not getting the 'select all', 'deselect all' buttons and single row select also. I'm new to datatables. Kindly help me.
This is my init code:
$(document).ready( function () {
$('#companies').dataTable( {
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"sRowSelect": "multi",
"aButtons": [ "select_all", "select_none" ]
}
} );
This is my body code:
Company name
Address
Town
ABC
ABC Street
Town1
Dell
Car street
Town2
I don't know, what is wrong here. I'm not getting the 'select all', 'deselect all' buttons and single row select also. I'm new to datatables. Kindly help me.
This discussion has been closed.