Topic: Tooltips not working inside datatables
*Expected behavior*Tooltips should work on items within a datatable
Resources (screenshots, code snippets etc.)https://mdbootstrap.com/snippets/standard/softcon/3626255
Michał Duszak staff answered 3 years ago
Re-init of the tooltip will bring them to work.
https://mdbootstrap.com/snippets/standard/m-duszak/3629148
const tooltips = document.querySelectorAll('[data-mdb-toggle="tooltip"]')
tooltips.forEach((tooltip) => {
const tooltipInstance = new mdb.Tooltip(tooltip)
})
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Pro
- 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