-
Enhancement
-
Resolution: Fixed
-
P4
-
7u15
When cellSelectionEnabled is true, and multiple cells in a single row are selected, the List returned from getSelectedIndices() will contain an index for each selected cell, not row.
Thus, for instance, if I have a single cell selected in the first row, and three cells selected in the second row, the List returned will be [0, 1, 1, 1]. I would only expect to find [0, 1]. Per cell selection queries should use getSelectedCells().
getSelectedItems() also displays this behavior.
Thus, for instance, if I have a single cell selected in the first row, and three cells selected in the second row, the List returned will be [0, 1, 1, 1]. I would only expect to find [0, 1]. Per cell selection queries should use getSelectedCells().
getSelectedItems() also displays this behavior.
- relates to
-
JDK-8267781 Tree-/TableView: incorrect notification from selectedIndices
-
- Open
-