# Dash DataTable - Tooltips

**URL:** <https://community.plotly.com/t/dash-datatable-tooltips/6327>\
**Category:** Dash Python\
**Created:** [October 17, 2017, 6:46am UTC](https://community.plotly.com/t/dash-datatable-tooltips/6327 "2017-10-17T06:46:36Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![tbillah](https://avatars.discourse-cdn.com/v4/letter/t/d6d6ee/32.png) [@tbillah](https://community.plotly.com/u/tbillah)\
**Post date:** [April 7, 2020, 1:42pm UTC](https://community.plotly.com/t/dash-datatable-tooltips/6327/16 "2020-04-07T13:42:51Z")

</div>

Hi @chriddyp, here is a better example:

> [@Datatable \`tooltip\_data\` argument - request for example](https://community.plotly.com/t/datatable-tooltip-data-argument-request-for-example/36276):
>
> hi i’ve tried all possible combinations i could think fo but can’t figure out what tooltip\_data wants passed to it structure-wise, there’s nothing in reference that clears this up. could someone please post an example of the structure for generating tooltip\_data structure for multirow multicol table please. which level is the outermost - row or col?, do you need to have a dict attached to each col key, is outermost structure list…? thigns to be grouped by row in lists…?

It appears that I had to interchange row and column order:

```python
tooltip_data= [{c:
        {
            'type': 'text',
            'value': f'{r},{c}'
        } for c in df.columns
} for r in df[df.columns[0]].values]

```

I realized that `tooltip_data` expects a list of dictionaries where each item in the dictionary is another dictionary for each column.

---

_[View the full topic](https://community.plotly.com/t/dash-datatable-tooltips/6327)._
