Topic: Tooltips not working inside datatables

softcon premium asked 2 years ago

*Expected behavior*Tooltips should work on items within a datatable

Resources (screenshots, code snippets etc.)

Michał Duszak staff answered 2 years ago

Re-init of the tooltip will bring them to work.

const tooltips = document.querySelectorAll('[data-mdb-toggle="tooltip"]')
tooltips.forEach((tooltip) => {
  const tooltipInstance = new mdb.Tooltip(tooltip)

softcon premium commented 2 years ago

Thanks, it worked

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: Premium
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.10.2
  • Device: Pc
  • Browser: all
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes