Some cells in my SlickGrid table have myClass
class.
I added a tooltip for them like this:
$(".myClass").hover(// Mouse enters
function(e) {...},
// Mouse leaves
function() {...});
It works fine, but if I scroll the table to the bottom, and then scroll it back to the top, the tooltip does not appear anymore.
Can someone suggest any workaround ?
Thanks !
grid.onMouseEnter.subscribe(function(e, args) {
var cell = grid.getCellFromEvent(e)
var row = cell.row
var item = dataView.getItem(row);
//do whatever
});
grid.onMouseLeave.subscribe(function(e, args) {
//do whatever
});
cell, row and item are just examples for how to get to data
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With