Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Showing a hover tooltip for data table header

$
0
0

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?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles