Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

FilterEditor disappears when the delete button column is clicked.

$
0
0
- SmartClient Version: v9.1p_2014-03-06/LGPL Development Only (built 2014-03-06)
- Tested on Firefox 24, Chromium 32

For grids that display the filter editor and allow the removal of records, there exists a space on the filter editor that, if clicked, makes the filter editor disappear.

The space is between the last filter box and the funnel icon, right above the delete button column. I've included a test case with a blank grid.

Code:

public class Main implements EntryPoint {
        @Override
        public void onModuleLoad() {               
                final ListGrid grid = new ListGrid(){{
                        setFields(new ListGridField("id", "Id"), new ListGridField("name", "Name"));
                        setHeight100();
                        setShowFilterEditor(true);
                        setCanRemoveRecords(true);                       
                }};
                VLayout vLayout = new VLayout();
                vLayout.setMembersMargin(15);
                vLayout.addMember(grid);
                vLayout.setHeight100();
                vLayout.setWidth100();
                vLayout.draw();
        }
}


Viewing all articles
Browse latest Browse all 4756

Trending Articles