searchPanes ViewTotal Bug
searchPanes ViewTotal Bug
ntzz123
Posts: 2Questions: 2Answers: 0
I have this code and the viewTotal is bugged , even clicking the clear button still showing the subtotal , on the league tab it should be showing like "60 found" instead of 13/60 , because nothing is selected.
.....foreach ($value as $stats) {
$lane = $stats['lane'];
$league = $stats['league'];
}
echo '<td>' . $lane . '</td>';
echo '<td>' . $league . '</td>';
<script>
$(document).ready(function() {
$('#table').DataTable({
searchPanes: {
columns: [1, 2, 3],
viewTotal: true,
},
dom: 'Plfrtip',
language: {
searchPanes: {
count: '{total} found',
countFiltered: '{shown} / {total}'
}
},
});
});
</script>
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
It appears to be working as expected here.
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin