Ladder

Ladder

giuseppe98pggiuseppe98pg Posts: 1Questions: 1Answers: 0
edited October 2017 in Free community support

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>

Answers

  • allanallan Posts: 63,468Questions: 1Answers: 10,466 Site admin

    I'm not sure what you mean by a "ladder"?

    Allan

This discussion has been closed.