Black Lives Matter. Please consider donating to Black Girls Code today.

Showing a hover tooltip for data table header

Hello everybody,

I have a dash data table that I am displaying some tooltips on hover. I can hover over specific cells that shows the tooltip I want based on the content in the cell. However, I am looking to also hover over a header cell to show a tooltip that explains the content in the column.
I am currently using the tooltip_data argument to supply a list of dictionaries looking like:

[{‘Visit Type’: “Here’s some data about the EV lv2”}, {‘Visit Type’: “Here’s some data about the EV lv3”},

{‘Visit Type’: “Here’s some data about the EV lv4”}, {‘Visit Type’: “Here’s some data about the EV lv5”},

{‘Visit Type’: “Here’s some data about the CCM”}, {‘Visit Type’: “Here’s some data about MCC”}, {'Visit T

ype’: “Here’s some data about the other”}, {‘Visit Type’: “Here’s some data about the other”}]

This results in being able to hover over specific cells in the Visit Type column like this:

Is it possible to get a tooltip to display if I hover only over the Rate header cell?

It’s not possible yet, but it’s a great idea. We’re tracking the issue here: https://github.com/plotly/dash-table/issues/295. This would be a good one for a dash table sponsorship (https://plotly.com/products/consulting-and-oem)