Arrows appear on unsortable columns

Arrows appear on unsortable columns

jbnvjbnv Posts: 9Questions: 4Answers: 1

I'm getting arrows on all of my columns, even the ones that are explicitly defined to be unsortable.

The most common example in my code is a column of action links. Not only do I not set this field to be sortable, but the DOM element in the console shows that it has sorting turned off:

<th class="text-nowrap sorting" data-data="action" data-name="action" data-orderable="false" data-searchable="false" data-b-sortable="false" data-m-data="action" data-s-name="action" data-b-searchable="false" tabindex="0" aria-controls="renewals_table" rowspan="1" colspan="1" aria-label="Actions: Click to sort column in ascending order.">Actions</th>

What do I need to do to make sure sorting is disabled for this column and the arrows do not appear?


  • colincolin Posts: 15,094Questions: 1Answers: 2,581

    I'm not seeing it here. Could you look at that, please, and see if it helps. If it's still not working for you, please can you update my example, or link to your page, so that we can see the problem.



  • jbnvjbnv Posts: 9Questions: 4Answers: 1
    edited December 2022

    I've added my code to your bin. It reproduces the bug.

  • kthorngrenkthorngren Posts: 19,891Questions: 26Answers: 4,691

    Please provide the updated link to your test case.


Sign In or Register to comment.