Integrated: JDK-8327727: Changing the row factory of a TableView does not recreate the rows

Marius Hanl mhanl at openjdk.org
Sat Mar 16 22:30:26 UTC 2024


On Sat, 9 Mar 2024 19:52:25 GMT, Marius Hanl <mhanl at openjdk.org> wrote:

> The fix is very straightfoward. We request a recreation of all cells in the `VirtualFlow` by calling `flow.recreateCells()` when the `tableRowFactory` was changed.
> 
> Funny enough, this was done in the `TreeTableViewSkin` again, hence it did not suffer from this bug. Removed as the table row factory is already handled in the `TableViewSkinBase`, now with the correct recreation.

This pull request has now been integrated.

Changeset: d0642d0a
Author:    Marius Hanl <mhanl at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/d0642d0a94814ad093966ae70f476c195e219703
Stats:     98 lines in 4 files changed: 93 ins; 4 del; 1 mod

8327727: Changing the row factory of a TableView does not recreate the rows

Reviewed-by: angorya

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

PR: https://git.openjdk.org/jfx/pull/1396


More information about the openjfx-dev mailing list