How to hide cell details box when user scrolls the table in SlickGrid ?
        Posted  
        
            by Misha Moroshko
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Misha Moroshko
        
        
        
        Published on 2010-05-01T15:44:07Z
        Indexed on 
            2010/05/01
            15:47 UTC
        
        
        Read the original article
        Hit count: 314
        
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 ?
© Stack Overflow or respective owner