I have added the following code to my SlickGrid table:
grid.onClick = function(e, row, cell) {
$("#cellDetails").html("Row = " + row + "\nColumn = " + cell);
$("#cellDetails").css("top", e.pageY - $("#cellDetails").outerHeight())
.css("left", e.pageX)
.show();
$("body").one("click", function() { $("#cellDetails").html("").hide(); });
return true;
}
If user clicks a cell, and then scrolls the table down, the cell details box still appears.
How can I hide it in this case ?