Tooltip for column header
Tooltip for column header
Hello,
I'm just found DataTables yesterday and loving it. However, when porting from our existing grid to DT, I have a few questions. How do I enable tooltip for the column header that explains the meaning of data in this column?
Thanks for a wonderful plugin.
I'm just found DataTables yesterday and loving it. However, when porting from our existing grid to DT, I have a few questions. How do I enable tooltip for the column header that explains the meaning of data in this column?
Thanks for a wonderful plugin.
This discussion has been closed.
Replies
Great to hear it's going well with DataTables :-) This functionality isn't built-in to DataTables directly, but it is fairly easy to do using a generic tooltip plug-in for jQuery - or anything else!
If you have a look at this example ( http://datatables.net/examples/advanced_init/events_pre_init.html ) you will be able to see how I've added tooltips for the TD elements in the body. The code could be easily modified to deal with the TH elements in the header instead.
Regards,
Allan