Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Suggestion related to ComboboxFilter
Suggestion related to ComboboxFilter [message #1760033] Fri, 21 April 2017 11:58 Go to next message
Naveen Sabapathy is currently offline Naveen SabapathyFriend
Messages: 46
Registered: July 2016
Member
I'm using "ComboBoxFilterRowHeaderComposite". with setShowDropdownFilter. After refining the list value. I want to select all the refined values. By default, "Select All" option selects all the values from the list. Not from the refined list. Are there any method already available in OOTB to select all the refined values from the OOTB. Or I need to override?

        // example on how to configure a different icon if a filter is applied
        ComboBoxFilterRowHeaderComposite filterRowHeaderLayer = new ComboBoxFilterRowHeaderComposite<>(
                bodyLayerStack.getFilterList(),
                bodyLayerStack.getBodyDataLayer(),
                bodyLayerStack.getSortedList(), columnPropertyAccessor,
                columnHeaderLayer, columnHeaderDataProvider, configRegistry,
                false);
        final IComboBoxDataProvider comboBoxDataProvider = filterRowHeaderLayer
                .getComboBoxDataProvider();
        
        FilterRowComboBoxCellEditor filterEditor = new FilterRowComboBoxCellEditor(
                comboBoxDataProvider, 5);
        filterEditor.setShowDropdownFilter(true);
        filterRowHeaderLayer
                .addConfiguration(new ComboBoxFilterRowConfiguration() {
                    {
                        this.cellEditor = filterEditor;
                        this.filterIconPainter = new ComboBoxFilterIconPainter(
                                comboBoxDataProvider, GUIHelper
                                        .getImage("filter"), null);
                    }
                });
Re: Suggestion related to ComboboxFilter [message #1760044 is a reply to message #1760033] Fri, 21 April 2017 13:00 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
I think you need to override. That was not considered until now.

Feel free to open a ticket and if possible provide a patch. Smile
Previous Topic:Icons will not be displayes when column is frozen
Next Topic:RichTextPainter and Alignment question
Goto Forum:
  


Current Time: Fri Mar 29 12:34:27 GMT 2024

Powered by FUDForum. Page generated in 0.03952 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top