How can I check if a specific column is orderable?
How can I check if a specific column is orderable?

in DataTables
I have a DataTable with a few columns and rows, and I want to check which columns are orderable. Is there any way to do so? Thanks!
This discussion has been closed.
Answers
I'm currently checking this way, but it doesn't seem like the most elegant/correct/robust workaround.
Another potential workaround: