I am currently working on a jquery datatable that has drag and drop column enabled along with a sorting icon. I am trying to set the cursor to change to pointer when hovering over the sorting icon, and to move when hovering over other areas of the column header.
Even though there is only one html tag <th>
, and the sorting icon is within that tag, I am struggling to make this happen. Are there any suggestions or solutions for achieving this?
To provide more clarity, here is a sample image related to my question:
https://i.sstatic.net/2XkfP.png
Thank you in advance for your help.