Adding data to column hover

Adding data to column hover

travisk42travisk42 Posts: 3Questions: 2Answers: 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: 63,498Questions: 1Answers: 10,471 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

Sign In or Register to comment.