ColumnFilterWidgets not working with bJQueryUI enabled
ColumnFilterWidgets not working with bJQueryUI enabled
Hi All,
I have been having some issues with tadaTables.
I tried enabling the ColumnFilterWidgets without success. Hope to get some help.
Here is my codes:
table.dataTable({
"sDom": '<"WTH"lfip><"clear">t<"F"ip>',
'aoColumns': columns,
'aaData': rows,
"bDeferRender": false,
'bJQueryUI': true,
"sProcessing": true,
"sPaginate": true,
"sPaginationType": 'full_numbers',
"bAutoWidth": false,
"sScrollY": ($('#tablewrapper').height() - 150),//'330px',
"sScrollX": '100%',
"sScrollXinner": '100%',
"bScrollAutoCss": true,
"aLengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, 'All']],
"oTableTools": {
"aButtons": ['csv','xls','pdf'],
"sRowSelect": 'single',
"sRowSelectedClass": 'row_selected',
"fnRowSelected": function(nodes){
console.log(nodes);
},
"fnRowDeselected": function(nodes){
console.log(nodes);
}
});
Where columns is an arrow of table headers and rows an arrays of json objects.
Any help will be great.
I have been having some issues with tadaTables.
I tried enabling the ColumnFilterWidgets without success. Hope to get some help.
Here is my codes:
table.dataTable({
"sDom": '<"WTH"lfip><"clear">t<"F"ip>',
'aoColumns': columns,
'aaData': rows,
"bDeferRender": false,
'bJQueryUI': true,
"sProcessing": true,
"sPaginate": true,
"sPaginationType": 'full_numbers',
"bAutoWidth": false,
"sScrollY": ($('#tablewrapper').height() - 150),//'330px',
"sScrollX": '100%',
"sScrollXinner": '100%',
"bScrollAutoCss": true,
"aLengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, 'All']],
"oTableTools": {
"aButtons": ['csv','xls','pdf'],
"sRowSelect": 'single',
"sRowSelectedClass": 'row_selected',
"fnRowSelected": function(nodes){
console.log(nodes);
},
"fnRowDeselected": function(nodes){
console.log(nodes);
}
});
Where columns is an arrow of table headers and rows an arrays of json objects.
Any help will be great.
This discussion has been closed.