How do I bind an `onMouseOver` event to a generated table column header?

i have a series of columns that determine permission flags for a generated list of assets. boss wants tooltips for the column headers to explain what each of the permissions mean in the context of the project. i see from the right-click menu that i can add an onChange event, but that's not what i'm after. just want a little popup after a mouseover.

The Perspective Table doesn't provide such granular tooltips. Is this Table in a Coordinate Container (fixed)? If so, there's a hacky workaround you could implement. If not, I'm afraid there's no way I can think of to provide a tooltip-per-column-header.

currently, no. but if depending on the impact, it sure as heck CAN be... :slight_smile: what's the hack?

and FWIW, i know i can do this via CSS in general, i just don't know how i'd target the column headers by element class or ID... :stuck_out_tongue:

If you're using the Table within a fixed-mode Coordinate Container, you can easily position an empty container over any of the column headers and apply a tooltip to the empty container.

Coordinate Container overlayed on top of the Table column:

Preview mode, hovering over "city":

Screenshot 2024-01-24 at 2.13.30 PM

meta.tooltip config for CoordinateContainer

{
  "enabled": true,
  "width": "auto",
  "text": "Custom tooltip!",
  "style": {
    "classes": ""
  },
  "delay": 500,
  "sustain": 10000,
  "location": "top-right",
  "tail": true
}

given that i know the width of the generated table, can't i just do that same for the generated table? it would take a small amount of fiddling, but seems to me, this could be doable... imma go play. :smiley: