Comments (10)
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:
- 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
- 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.
This requirement would probably be satisfied by the ability to add custom actions. See issue #8.
from oxbow.
OK thanks, do you know when you are likely to implement this new feature?
from oxbow.
Working on it. It is one of the few issues left for planned v1.0 release. Would probably estimate 1-2 weeks
from oxbow.
Thats great, thanks very much.
from oxbow.
Hows the release coming along? Any updates? The new custom actions will be very useful for me
from oxbow.
Working on it :) Besides number filtering, do you have anything else in mind?
from oxbow.
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.
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.
Was experimental change at the time :) I added it to the master
from oxbow.
Related Issues (20)
- ComponentOrientation problem HOT 4
- Maven repository ? HOT 5
- Re-sizing the jpopupmenu HOT 15
- firetablestructurechanged preserves filter state but resets the table header renderer
- TableRowFilterSupport only sorting not filtering? HOT 3
- Support for custom rendering of DistinctColumnItem in TableFilterColumnPopup HOT 2
- Icon lost in TableHeader when Column is sorted HOT 2
- Broken download links (latest releases) HOT 1
- No compatibility with latest miglayout version HOT 2
- How can change foreground in the header? HOT 3
- Add custom actions
- How get and set Filter table? HOT 1
- Filtering with RegExp
- When is next release? HOT 3
- Table flicker on refresh when filter or sort applied
- Choice dialog - focus problem on java >= 9 HOT 1
- Lack of license HOT 4
- Travis Build fails HOT 1
- How to clear all filters HOT 3
- Sort icon not coming - urgent
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oxbow.