Adding data to column hover

Adding data to column hover

travisk42travisk42 Posts: 4Questions: 3Answers: 0

My apologies for not having a test case, I'm not sure where to begin. I'd like to create a datatable and display a description on hovering a column. Similar to placing data in an html element's title and hovering the element.

Any recommendations would be greatly appreciated.

Answers

  • allanallan Posts: 64,508Questions: 1Answers: 10,662 Site admin

    DataTables itself doesn't offer such a feature, but you could readily use something like Popper.js to create the floating element and mouseenter and mouseleave events to control when to show it.

    Allan

This discussion has been closed.