Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 581005

Summary: Support mixed filter row
Product: [Technology] NatTable Reporter: Dirk Fauth <dirk.fauth>
Component: GlazedLists ExtensionAssignee: Dirk Fauth <dirk.fauth>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: wild
Version: 2.0.3   
Target Milestone: 2.0.4   
Hardware: PC   
OS: Windows 10   
See Also: https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/196639
https://git.eclipse.org/c/nattable/org.eclipse.nebula.widgets.nattable.git/commit/?id=53c3ea7db6d70c4535374a47edfafb67c9467b3d
https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/197218
https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/197220
https://git.eclipse.org/c/nattable/org.eclipse.nebula.widgets.nattable.git/commit/?id=a870cb859eb6e9035bf2dc3394a672d02fda36d3
https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/197702
https://git.eclipse.org/c/nattable/org.eclipse.nebula.widgets.nattable.git/commit/?id=9375ae03a5744d1737195ee457a871e225919ff5
Whiteboard:

Description Dirk Fauth CLA 2022-11-08 00:27:37 EST
Currently it is only possible to either have a filter row with default editors like a text editor or a static combobox, or to have "Excel-like" filter editors with dynamic content based on the values in the column that can be selected via checkboxes.

It would be useful to mix these two approaches so you have some columns with a text editor filter that allows to enter filter criteria, and for some columns have the dynamic checkbox based filter.

Currently this is not possible because the ComboBoxFilterRowHeaderComposite and the ComboBoxGlazedListsFilterStrategy are adding behavior to the default filter row classes that avoid the usage of other editors than the checkbox based combobox editors.
Comment 1 Eclipse Genie CLA 2022-11-08 00:29:30 EST
New Gerrit change created: https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/196639
Comment 3 Dirk Fauth CLA 2022-11-08 01:44:51 EST
Added editor checks to the ComboBoxFilterRowHeaderComposite and the ComboBoxGlazedListsFilterStrategy to forward the filtering to the default implementations if the configured editor is not a FilterRowComboBoxCellEditor.

Also added the _6037_MixedFilterRowExample to show and verify the usage.
Comment 4 Dirk Fauth CLA 2022-11-08 02:07:29 EST
*** Bug 518454 has been marked as a duplicate of this bug. ***
Comment 5 Eclipse Genie CLA 2022-11-22 12:33:54 EST
New Gerrit change created: https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/197218
Comment 6 Eclipse Genie CLA 2022-11-22 12:51:07 EST
New Gerrit change created: https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/197220
Comment 8 Dirk Fauth CLA 2022-12-14 14:57:59 EST
Released with 2.0.4
Comment 9 Stefan Wild CLA 2022-12-15 02:20:09 EST
Thank you 👍🏻
I will try it soon.
Comment 10 Eclipse Genie CLA 2022-12-15 09:39:46 EST
New Gerrit change created: https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/197702