ui-grid
ui-grid copied to clipboard
Horizontal scrolling is removing classes
My ng-grid is wider than it's container, as expected, so there is a horizontal scroll bar. Clicking on a cell adds a class to change the color and then "disables" it so it cannot be selected again. The problem comes when I scroll past the clicked cell. It gets removed from the table, and upon scrolling back over it gets reinserted, only now the class disabling it is gone.
Is there any way to prevent this from happening? Like hiding the overflow instead of removing and re-adding the divs?