You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I implemented tooltips using the DataTable’s tooltip_data feature.
Initially, I explored using dbc.Tooltip component for greater flexibility. However, dynamically adding a tooltip to each row/column element would require individual element IDs to be passed to the "target" parameter of dbc.Tooltip. After some investigation, I couldn’t find a straightforward way to achieve this, and it seems that DataTable doesn't support such dynamic elements (without embedding some Javascript on the client side).
The key advantage of dbc.Tooltip is its flexibility, allowing us to embed complex content and enable user interaction, features not supported by the built-in DataTable tooltips. For example, now the tooltips can be displayed but will disappear when the user tries to select and copy text from it. Using something like dbc.Tooltip would solve the issue.
Another issue with the current tooltips, is that when the data table has multiple pages, the display position of tooltips for the page 2+ is different from the position of the tooltips in the first page.
The text was updated successfully, but these errors were encountered:
tooltip_data
feature.dbc.Tooltip
component for greater flexibility. However, dynamically adding a tooltip to each row/column element would require individual element IDs to be passed to the "target" parameter ofdbc.Tooltip
. After some investigation, I couldn’t find a straightforward way to achieve this, and it seems thatDataTable
doesn't support such dynamic elements (without embedding some Javascript on the client side).dbc.Tooltip
is its flexibility, allowing us to embed complex content and enable user interaction, features not supported by the built-in DataTable tooltips. For example, now the tooltips can be displayed but will disappear when the user tries to select and copy text from it. Using something likedbc.Tooltip
would solve the issue.The text was updated successfully, but these errors were encountered: