RFR: 8273336: Clicking a selected cell from a group of selected cells in a TableView clears the selected items list but remains selected

Jose Pereda jpereda at openjdk.java.net
Fri Jan 7 19:42:00 UTC 2022


This PR adds a predicate to TableView and TreeTableView selection models order to remove rows from the selection only when there are no selected cells in that given row, when cell selection is enabled.

Two tests have been added as well, that fail without this PR and pass with it.

-------------

Commit messages:
 - Add a predicate to remove rows from selection based on selected cells

Changes: https://git.openjdk.java.net/jfx/pull/709/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jfx&pr=709&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8273336
  Stats: 113 lines in 5 files changed: 110 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jfx/pull/709.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/709/head:pull/709

PR: https://git.openjdk.java.net/jfx/pull/709


More information about the openjfx-dev mailing list