Why the table columns are unnecessary wide and how can I avoid it?
Why the table columns are unnecessary wide and how can I avoid it?
This is my initialisation:
$('#tablaOpciones').dataTable( {
"aaSorting":[],
"sScrollY": "180px",
"bAutoWidth": false,
"bPaginate": false,
"bScrollCollapse": true,
"bInfo": false,
"bFilter": false
});
The table cloumns in my table are almost the double wide than the content inside.
I cant get rid of the X scroll, what can I use if bScrollAutoCss is now deprecated and the !important in the stylesheet had no effect.
.dataTables_scrollBody{
overflow-x:hidden !important;
}
$('#tablaOpciones').dataTable( {
"aaSorting":[],
"sScrollY": "180px",
"bAutoWidth": false,
"bPaginate": false,
"bScrollCollapse": true,
"bInfo": false,
"bFilter": false
});
The table cloumns in my table are almost the double wide than the content inside.
I cant get rid of the X scroll, what can I use if bScrollAutoCss is now deprecated and the !important in the stylesheet had no effect.
.dataTables_scrollBody{
overflow-x:hidden !important;
}
This discussion has been closed.