Remove the sort arrous
Remove the sort arrous
I want to remove the sort arrows from my table.
I have looked at the info at https://datatables.net/forums/discussion/comment/200892/#Comment_200892 and tried them all, but the sort arrows still show up for me.
I am using DataTables-1.11.3
I want to remove the sort arrows in the column headers.
I have tried
"ordering": 'false',
and
"order": [],
I have tried them both together.
I have tried the CSS in the link above.
I have tried
.no-sort::after { display: none!important; }
.no-sort { pointer-events: none!important; cursor: default!important; }
and added the class to the column
<th class="no-sort">
Any help would be appreciated.
Answers
Setting
ordering
to false works in this test case with 1.11.3:https://live.datatables.net/lewomuvu/1/edit
If this doesn't help then please post a link to a test case replicating the issue. Feel free to update my test case.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin