Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    FilterEditor disappears when the delete button column is clicked.

    - 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();
    	}
    }

    #2
    This has been fixed for builds dated March 29 and later

    Comment

    Working...
    X