SlickGrid icon indicating copy to clipboard operation
SlickGrid copied to clipboard

invalidateRows() has an incorrect check whether to makeActiveCellNormal

Open peterlevi opened this issue 14 years ago • 1 comments

It iterates the array 'rows' by an index i and checks whether activeRow === i, while it should instead check whether activeRow === rows[i]. This means it may incorrectly cancel editing for a row which is not invalidated or vice-versa - not cancel editing for a row which is being invalidated (example: rows = [0,1,3], activeRow = 3).

peterlevi avatar Feb 21 '12 11:02 peterlevi

Remarkable that it went for so long without getting noticed. Thanks!

mleibman avatar Feb 26 '12 18:02 mleibman