How to add hover text for sorting icons in datatables.

How to add hover text for sorting icons in datatables.

PritamPritam Posts: 5Questions: 2Answers: 0

Hi,

I am using datatables in one of my applications, and the requirement is, I need to add hover texts with the sorting icons.

For example, "Change to Ascending Sort" or " Change to descending sort"

Kindly let me know how to achieve this.

Thanks in Advance

Answers

  • allanallan Posts: 63,818Questions: 1Answers: 10,517 Site admin

    There is no option for that sorry. You could optionally add a tooltip, but the sorting icons are actually background images, so the tooltip would need to be applied to the whole header cell, not just the icon.

    Allan

This discussion has been closed.