Hello,
the customization of the filter button in a ListGrid is broken. The button is placed far away from the grid not in the same place as the default filter button. I've testet also with the latest nighly (11.12.2013) version of smartgwt 4.0p.
Here is the TestCase:
the customization of the filter button in a ListGrid is broken. The button is placed far away from the grid not in the same place as the default filter button. I've testet also with the latest nighly (11.12.2013) version of smartgwt 4.0p.
Here is the TestCase:
Code:
@Override public void onModuleLoad() { ListGrid lg = new ListGrid(); lg.setShowFilterEditor(true); lg.setFields(new ListGridField("foo")); lg.setWidth100(); lg.setHeight100(); Button button = new Button(); button.setPrompt("Click this button to filter the data"); lg.setFilterButtonProperties(button); VLayout vLayout = new VLayout(10); vLayout.setMembers(new Label("top"), lg, new Label("bottom")); vLayout.setWidth100(); vLayout.setHeight100(); HLayout hLayout = new HLayout(10); hLayout.setMembers(new Label("left"), vLayout, new Label("right")); hLayout.setWidth100(); hLayout.setHeight100(); hLayout.draw(); }
Comment