Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82393

"sDom": "t", and dataTables_filter

$
0
0

I have the following javascript code:

$(document).ready(function(){
$('#subset').dataTable({
"dom": "t<'row'<'col-md-12'p>>",
"displayLength": 12,
"info": false,
"lengthChange": false,
"order" : [],
"columnDefs": [
{ "orderable": false, "targets": [3, 4, 5] }
]
});
});

The problem is that "dom": "t<'row'<'col-md-12'p>>", causes the dataTables_filter
to not be rendered. When I remove "t<'row'<'col-md-12'p>>" the _filter part
is being rendered, but the pagination part becomes to small.

I am using dataTables 1.10.12 I hope there is a solution to solve this problem.

Kind regards,

Annet V.


Viewing all articles
Browse latest Browse all 82393

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>