Giter Club home page Giter Club logo

Comments (10)

chrisjones2004 avatar chrisjones2004 commented on July 29, 2024

Thanks for fixing this. This now works. However what would be really helpfull is the option of being able to decide whether new data is included in the filter or not. Take these two scenarios for example:

  1. I want to filter out all non-zero values in a column. i.e all distinctcolumnitems are checked apart from 0
    • If a cell in the filtered colum changes from 3 -> 4, it should still be shown in the column
  2. I want to only show zero values in a column. i.e only zero is checked
    • If a cell values changes from 0 -> 1, it should be not be shown in the column any more (current implementatio)

Therefore could you add some method to the filter for example
tableFilter.setVisiblityForNewDistinctColumnItem(boolean b)

from oxbow.

eugener avatar eugener commented on July 29, 2024

This requirement would probably be satisfied by the ability to add custom actions. See issue #8.

from oxbow.

chrisjones2004 avatar chrisjones2004 commented on July 29, 2024

OK thanks, do you know when you are likely to implement this new feature?

from oxbow.

eugener avatar eugener commented on July 29, 2024

Working on it. It is one of the few issues left for planned v1.0 release. Would probably estimate 1-2 weeks

from oxbow.

chrisjones2004 avatar chrisjones2004 commented on July 29, 2024

Thats great, thanks very much.

from oxbow.

chrisjones2004 avatar chrisjones2004 commented on July 29, 2024

Hows the release coming along? Any updates? The new custom actions will be very useful for me

from oxbow.

eugener avatar eugener commented on July 29, 2024

Working on it :) Besides number filtering, do you have anything else in mind?

from oxbow.

chrisjones2004 avatar chrisjones2004 commented on July 29, 2024

Great :). If possible I suppose I would like the filters to be as close to excel as possible i.e

Numbers: greater than, less than, not equal too, equal too, above/below average
Strings: starts with, ends with, contains, equals, not equal too

The way I would probably do it, is create the most standard filters as concrete custom actions that programmers can simply add, without having to worry about the inner workings.

Then if we want to create more advanced filters there should be an interface we can extend/implement to create our own.

Thanks!

from oxbow.

priyath avatar priyath commented on July 29, 2024

Fix issue #11. Properly listen for data changes in the table model

Why doesn't the source code reflect the above changes?
source: https://github.com/eugener/oxbow/blob/master/swingbits/src/main/java/org/oxbow/swingbits/table/filter/AbstractTableFilter.java

from oxbow.

eugener avatar eugener commented on July 29, 2024

Was experimental change at the time :) I added it to the master

from oxbow.

Related Issues (20)

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.