one one row has been shown
one one row has been shown
I have a static <TR> list with values that match, they are all available when loading (there are 22) and then only 1 row is shown.
The second row.
The other rows are also not found in the source.
In the static html page there are 22 rows. A fraction of a second by loading it shows all the 22 rows and then removes them quickly.
At the bottom it also says:
Quote:
1 to 1 of 1 results (filtered from 22 results)
[CODE]
var table = $('#dt_startpage-link,#dt_blog-content-link,#dt_other-link').dataTable( {
initComplete: function() {
$('.lader').attr('style','display:none');
$('.table').attr('style','visibility:visible');
},
ordering: false,
dom: 'Bfrtip',
// dom: 'QBlfrtip',
scrollX: true,
processing: true,
fixedHeader: false,
responsive: false,
columnDefs: [ {
className: 'dtr-control',
orderable: false,
targets: target,
visible: false
} ],
"paging": true,
"language": {
"url": "//cdn.datatables.net/plug-ins/1.10.20/i18n/Dutch.json"
},
"pageLength": 100
} );
Replies
Its hard to say without seeing the problem. It could be that the HTML table is populated after Datatables initializes. Possibly you have multiple
tbody
tags. Please post a test case showing the issue so we can help debug.https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin