# How to add tooltip only for a single column in datatable?

**URL:** <https://community.plotly.com/t/how-to-add-tooltip-only-for-a-single-column-in-datatable/61460>\
**Category:** Dash Python\
**Tags:** question\
**Created:** [February 27, 2022, 6:58am UTC](https://community.plotly.com/t/how-to-add-tooltip-only-for-a-single-column-in-datatable/61460 "2022-02-27T06:58:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dataturnsmeon](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dataturnsmeon](https://community.plotly.com/u/dataturnsmeon)\
**Post date:** [February 27, 2022, 6:58am UTC](https://community.plotly.com/t/how-to-add-tooltip-only-for-a-single-column-in-datatable/61460/1 "2022-02-27T06:58:09Z")

</div>

I want to add tooltip only for a particular column in my datatable, the default tooltip appears at all cells on hover.  
It maybe possible using the `tooltip_conditional` to check the column id of that specific column?

Any help is appreciated, thanks !

---

<div class="post-metadata">

**Author:** ![SamuelVT](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/samuelvt/32/20818_2.png) [@SamuelVT](https://community.plotly.com/u/SamuelVT)\
**Post date:** [February 27, 2022, 3:12pm UTC](https://community.plotly.com/t/how-to-add-tooltip-only-for-a-single-column-in-datatable/61460/2 "2022-02-27T15:12:21Z")

</div>

Hello [dataturnsmeon](https://community.plotly.com/u/dataturnsmeon)

You can find a example in the documentation.

[https://dash.plotly.com/datatable/tooltips#tooltips-in-column-headers](https://dash.plotly.com/datatable/tooltips#tooltips-in-column-headers)

---

<div class="post-metadata">

**Author:** ![dataturnsmeon](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dataturnsmeon](https://community.plotly.com/u/dataturnsmeon)\
**Post date:** [February 27, 2022, 4:05pm UTC](https://community.plotly.com/t/how-to-add-tooltip-only-for-a-single-column-in-datatable/61460/3 "2022-02-27T16:05:54Z")

</div>

@SamuelVT That example only shows applies for the column header, I am looking to have the tooltip for a **single column only** from all the columns in my datatable.

---

<div class="post-metadata">

**Author:** ![SamuelVT](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/samuelvt/32/20818_2.png) [@SamuelVT](https://community.plotly.com/u/SamuelVT)\
**Post date:** [February 27, 2022, 7:43pm UTC](https://community.plotly.com/t/how-to-add-tooltip-only-for-a-single-column-in-datatable/61460/5 "2022-02-27T19:43:16Z")

</div>

Hi [dataturnsmeon](https://community.plotly.com/u/dataturnsmeon)

Looks this example made for Adam.

[https://www.youtube.com/watch?v=bQgpC0\_XKfI](https://www.youtube.com/watch?v=bQgpC0_XKfI)

> <https://github.com/Coding-with-Adam/Dash-by-Plotly/blob/master/DataTable/Tooltip/datatable-tooltip.py>

---

<div class="post-metadata">

**Author:** ![dataturnsmeon](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dataturnsmeon](https://community.plotly.com/u/dataturnsmeon)\
**Post date:** [February 28, 2022, 8:27am UTC](https://community.plotly.com/t/how-to-add-tooltip-only-for-a-single-column-in-datatable/61460/6 "2022-02-28T08:27:01Z")

</div>

Thanks @SamuelVT this is exactly what I was looking for !
