Sometimes not all records are selected when pressing the Ctrl-A key combination. Although all rows are optically marked as selected, when the selection is requested programmatically, the set contains one or two fewer data records. However, the behavior cannot be reliably reproduced.
In the RowSelectionModel, the row is returned:
int maxY = Math.min(range.y + range.height, this.selectionLayer.getRowCount());
the value 30002
but a few lines later the expression
The problem was raised by a hash collision of two of the data rows
[Updated on: Wed, 31 July 2019 09:09]
Report message to a moderator