orderable: false is not applied on Select Extension

orderable: false is not applied on Select Extension

mending3mending3 Posts: 16Questions: 9Answers: 0
edited April 30 in Bug reports

Link to test case: https://codesandbox.io/s/condescending-matsumoto-y2u2u?file=/index.html
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:

orderable: false in columnDefs is not applied

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 12,453Questions: 0Answers: 2,110

    It looks like it's not ordering on that column to me. Why do you think it is?

    Colin

  • kthorngrenkthorngren Posts: 13,584Questions: 25Answers: 3,197

    I think the confusion might be the initial order. You can use order to change the initial order to column 1 if you want. Then column 0 won't be ordered and you won't see the sorting icons.

    Kevin

  • mending3mending3 Posts: 16Questions: 9Answers: 0

    @colin yea but the sorting icons should have been hidden right?

  • mending3mending3 Posts: 16Questions: 9Answers: 0

    @kthorngren did that but the sorting icons are still not hidden

  • kthorngrenkthorngren Posts: 13,584Questions: 25Answers: 3,197
    Answer ✓

    I don't see that change in your test case. Seems like I'm not able to make changes so I copied your code and data here:
    http://live.datatables.net/raquroye/1/edit

    Using order: [[1, 'asc']], does work. Please update your test case to show the problem when using order: [[1, 'asc']],.

    Kevin

Sign In or Register to comment.