Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JFXTreeTableView predicate not working correctly on items added #1237

Open
m0squito opened this issue May 20, 2022 · 0 comments
Open

JFXTreeTableView predicate not working correctly on items added #1237

m0squito opened this issue May 20, 2022 · 0 comments

Comments

@m0squito
Copy link

m0squito commented May 20, 2022

I have a JFXTreeTableVIew and a toggle button with a change listener for the latter that sets a new predicate of the table depending on the button's selected property value. Everything works as expected with the data initially loaded - the toggle button acts as a filter on/off button for the table view. However, when new items are dynamically added to the table (via observable list associated with the root), the predicate no longer holds and all items are shown. Is there a way to force the table to reevaluate the predicate and not show newly added items that would be rejected by the predicate?

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

No branches or pull requests

1 participant