Ticket #357 (closed feature: duplicate)
Grid.shiftRow() - row.length != modelRow.length
|Reported by:||jdege@…||Owned by:|
In the function shiftRow(), in Grid.js, I've seen unknown object errors, because the row array had one fewer elements than the modelRow array.
In the latest instance, prepend = true, modelRowIndex = 0, modelRow.length = 7, row.length = 6.
In the loop, i ranges from 0 to modelRow.length. For the last iteration, i = 6, and row[i] is undefined.
For some reason, every once in a great while, this.grid is an array with one more element than this.grid.pop() is returning.
The result is an unknown object error.