add a glyph icon in a cell and a tooltip on hovering it
add a glyph icon in a cell and a tooltip on hovering it
karthikThirumurthy
Posts: 2Questions: 0Answers: 0
I want to add a glyph icon beside a cell which contains some data in a datatable. And on hovering through the glyph icon a text needs to be displayed from an other cell. Is it possible with datatables?!
Thank you!
This discussion has been closed.
Replies
I don't foresee any issue with that in DataTables. You'd do it basically the same way as you would with a plain table. You could put the icon in the HTML (or use a renderer in DataTables if you want it to be dynamically added) and then apply whatever tooltip / hover code you want to display the message.
Allan
Thanks a lot allan. It really worked well. But i have an other issue now! on clicking a button the the datatable gets loaded with 5000 data on the first go which seems to be fine. But again after changing the input parameters and clicking the button without refreshing the page the datatable gets struck. It gets hung! Is there a way to reslove this?!
Thanks!
I would need a link to the page showing the issue to be able to have any chance of understand what is going wrong there.
Allan