Hi,
Can anyone help me with fit on window for ListGrid?
SmartGWT version 2.3 snapshot
In my code i use standard GWT SimplePanel as parent for Canvas.
Canvas is contains ListGrid.
Initialization code is:
When I ran the code I see that ListGrid with Parent canvas is overlaps my SimplePanel?
How i can do flexible layout?
Posts with incomplete information are much more likely to be ignored.
Can anyone help me with fit on window for ListGrid?
SmartGWT version 2.3 snapshot
In my code i use standard GWT SimplePanel as parent for Canvas.
Canvas is contains ListGrid.
Initialization code is:
Code:
SimplePanel accountGridContainer = new SimplePanel(); ListGrid accountsGrid = new ListGrid() Canvas wrapper = new Canvas(); wrapper.setWidth100(); wrapper.setHeight100(); accountsGrid.setMargin(0); accountsGrid.setRight(0); accountsGrid.setPadding(0); accountsGrid.setWidth100(); accountsGrid.setHeight100(); accountsGrid.setShowRecordComponents(true); accountsGrid.setShowRecordComponentsByCell(true); accountsGrid.setAutoFitWidthApproach(AutoFitWidthApproach.BOTH); accountsGrid.setCanAutoFitFields(false); accountsGrid.setCanFreezeFields(false); accountsGrid.setCanGroupBy(false); accountsGrid.setCanDrag(false); accountsGrid.setFilterOnKeypress(true); accountsGrid.setShowCustomScrollbars(false); wrapper.addChild(accountsGrid); //Set canvas to SimplePanel accountGridContainer.setWidget(wrapper);
How i can do flexible layout?
Posts with incomplete information are much more likely to be ignored.
Comment