Coder Social home page Coder Social logo

javafx-filterable-table-columns's People

Contributors

jhsheets avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

javafx-filterable-table-columns's Issues

Filter is not working!

Filtered column count: 1
Filtering changed on column: Value
Current filters on column Value are:
Type=Contains, Value=Ba

Result: no rows are hidden!

FilteredTableView removing filter change listeners

In FilteredTableView.java inside overridden onChanged method, when columns are removed from a FilteredTableView, the FILTERED_CHANGE_EVENT listeners are being removed from the wrong set of columns.

On line 106, shouldn't it be change.getRemoved() instead of change.getAddedSubList()

FilterableEnumTableColumn issues

Hi I'm not sure if this codebase is being maintained but I wanted to point out an issue in case you or any user of the code base wanted to know.

When using FilterableEnumTableColumn with arguments selectByDefault=true it leads to issues where the filters are not present in FilterableEnumTableColumn "filterResults" field, accessed via getFilters() when applying filters. These filters would also normally be set after a save request on the editor, but when selectByDefault=true is set it doesn't seem to update anyway because of an mistake or design flaw on line 215 of EnumFilterEditor.java, see below:
if (emu.isSelected() != selectedByDefault)
This check seems to be of the intention of seeing if it has changed since default, but it can't distinguish between whether it is unchanged or just not been changed back to default.

I think these solutions can be resolved by doing the following simple changes:

  1. When constructing an AbstractFilterableTableColumn with selectByDefault=true, immediately set filterResults, also theres a bug on the third constructor where selectByDefault isn't passed on to the fourth constructor.
  2. Further to above, when setting new options with setEnumValues(T[] values), you will also need to update the filterResults field to match the new options.
  3. Remove the check comparing isSelected to selectedByDefault and just treat all selected checkboxes the same regardless of default.

Modular JavaFX does not export com.sun.javafx.css

In a modular JavaFX project, it is not possible to use this very useful project.

Caused by: java.lang.IllegalAccessError: class org.google.jhsheets.filtered.tablecolumn.editor.FilterMenuPopup (in module javafx.filterable.table.columns) cannot access class com.sun.javafx.css.StyleManager (in module javafx.graphics) because module javafx.graphics does not export com.sun.javafx.css to module javafx.filterable.table.columns

AdoptOpenJDK 12
JavaFX 12

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.