Column Heading onhover

Column Heading onhover

suppesmsuppesm Posts: 1Questions: 0Answers: 0
edited April 2011 in General
I am new to DataTables, is there a way to remove the hand icon when hovering over a header? I have removed the sort feature from certain columns and don't want the hand icon to appear on a heading that does nothing when clicked on.

Replies

  • icebergiceberg Posts: 14Questions: 0Answers: 0
    I am using DataTables 1.7.6, and do not see any hand icon when hovering on table header. But this is the jQuery selector I used to locate table header anyway.

    $(".dataTables_wrapper table:first-child > thead > tr" ).blah(...)
  • allanallan Posts: 63,516Questions: 1Answers: 10,473 Site admin
    It's just a CSS issue - for columns that aren't sortable they have the class 'sorting_disabled' - you can add a pointer: default; or whatever you want.

    Allan
This discussion has been closed.