Skip to main content

My product displays search results in a table format, like below:

The column headers in that table are the names of the fields on the returned objects. This is a dynamic list: The displayed columns and the order they’re displayed in can change depending on which records are returned.

I would like to display a tooltip when a user hovers the name of a column in that table, and for the tooltip to be populated with the description of that field (that is stored as metadata). Because the fields themselves aren’t static, I want the tooltip to figure out which field each column maps to when a user hovers their pointer on it and then to retrieve the right description for that field.

Is this even possible, and if so how can we do it?

Be the first to reply!

Reply