Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

An expandable table row with dirty tracking #1147

Open
kenfehling opened this issue Jan 3, 2020 · 1 comment
Open

An expandable table row with dirty tracking #1147

kenfehling opened this issue Jan 3, 2020 · 1 comment

Comments

@kenfehling
Copy link

Hi, thank you for this project! I realized it's not possible to have a tableview with both enableDirtyTracking and rowExpander; they both call setRowFactory, so one clobbers the other. I'm wondering if there's a simple way to compose the two, or any other suggestions.

@kenfehling kenfehling changed the title A dirty and expandable table row An expandable table row with dirty tracking Jan 3, 2020
@edvin
Copy link
Owner

edvin commented Jan 7, 2020

Ah, you're right. Some places in the framework we have mechanisms for stacking factories. I don't think we've implemented it for rowFactory, but it wouldn't be hard to do. You can also do it manually by creating a row factory that includes code from both enableDirtyTracking and rowExpander.

I don't have time to create support for stacking row factories right now, but a PR for it would be most welcome :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants