Ladder
Ladder
giuseppe98pg
Posts: 1Questions: 1Answers: 0
I'm doing a ladder for my website. But i have a problem.
I want that target 2 still be same also when other columns are ordered. So i used OrderFix, but when i use it, i can't sort all columns.
Can you help me?
Code:
<script>
$(document).ready(function() {
$('#classifica').DataTable({
"orderFixed": [1,"asc"],
paging: false,
info: false,
orderable: true,
"columnDefs": [
{ "orderable": false, "targets": [0, 2]},
{ "orderable": true, "targets": [3, 4, 5]},
{"type" : "natural", "targets" : 3},
]
});
} );
</script>
This discussion has been closed.
Answers
I'm not sure what you mean by a "ladder"?
Allan