Tooltips for Tables

So if i want a tooltip to appear for different cells in a table, but to maintain the normal selection behaviour of the table rows. Any ideas?

setInterceptsMouseClicks(true) is probably required for the Tooltip system to work but disables the normal click behaviour of the table.

Thoughts?

https://docs.juce.com/master/classListBoxModel.html#ab00efad30db9008960012e8194a2452e

I suppose that’s no good as it doesn’t provide the granularity needed? Quite surprising that TableListBox doesn’t have a getTooltipForCell(int row, int column) method really.

Ah - well I didn’t spot that was a feature but unfortunately won’t help in this case.

However, I’ve learnt about a new feature so that’s nice :slight_smile:

1 Like