Skip to content

TableView2: Extend TableViewSkin2 from TableViewSkin #1608

@jperedadnr

Description

@jperedadnr

From this old comment:
https://github.com/controlsfx/controlsfx/blob/master/controlsfx/src/main/java/impl/org/controlsfx/tableview2/TableView2Skin.java#L80

/* We need to extend directly from TableViewSkinBase in order to work-around
* https://bugs.openjdk.java.net/browse/JDK-8090674 if we want to set a custom
* TableViewBehavior.
*/

the decision to extend TableViewSkin2 from TableViewSkinBase and not from TableViewSkin was based on an old issue that was fixed at some point (around JavaFX 13).

TableViewSkin2 should extend from TableViewSkin and not from TableViewSkinBase, adding back the default behaviour and keyboard mappings to TableView2.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions