ColumnFilterWidget and TableTools
ColumnFilterWidget and TableTools
So i'm trying to get both ColumnFilterWidget and TableTools to work together, but i cant get them both to display at the same time. I think it has something to do with the code:
[code]"sDom": 'T<"clear">lfrtip',
"sDom": 'W<"clear">lfrtip',[/code]
I tried changing the order of them, taking each one out, etc. What is the correct way to do this?
[code]
$(document).ready( function () {
$('#example').dataTable( {
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"aButtons": [ "copy", "print" ]
},
"sDom": 'W<"clear">lfrtip',
"sScrollY": "500px",
"bPaginate": false,
"bScrollCollapse": true
} );
} );
[/code]
[code]"sDom": 'T<"clear">lfrtip',
"sDom": 'W<"clear">lfrtip',[/code]
I tried changing the order of them, taking each one out, etc. What is the correct way to do this?
[code]
$(document).ready( function () {
$('#example').dataTable( {
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"aButtons": [ "copy", "print" ]
},
"sDom": 'W<"clear">lfrtip',
"sScrollY": "500px",
"bPaginate": false,
"bScrollCollapse": true
} );
} );
[/code]
This discussion has been closed.
Replies