Dear Isomorphic
I use SmartGwt version 2.4 and have the following question:
I have a simple ListGrid with only two records (see example and image).
When the ListGrid is rendered there is always a empty space after the second record.
ListGrid.setMinHeight(xxx) doesn't seem to work.
It seems that there is a fix minimum size of the ListGrid_body of 75px.
How can I configure the ListGrid that there is no empty space after the second record?
Thanks in advanced
Marco
I use SmartGwt version 2.4 and have the following question:
I have a simple ListGrid with only two records (see example and image).
When the ListGrid is rendered there is always a empty space after the second record.
ListGrid.setMinHeight(xxx) doesn't seem to work.
It seems that there is a fix minimum size of the ListGrid_body of 75px.
How can I configure the ListGrid that there is no empty space after the second record?
Thanks in advanced
Marco
Code:
ListGrid grid = new ListGrid(); ListGridRecord[] records = new ListGridRecord[2]; ListGridRecord r1 = new ListGridRecord(); r1.setAttribute("field1", "value1"); r1.setAttribute("field2", "value1"); ListGridRecord r2 = new ListGridRecord(); r2.setAttribute("field1", "value2"); r2.setAttribute("field2", "value2"); records[0] = r1; records[1] = r2; grid.setData(records); grid.setFields(new ListGridField("field1"), new ListGridField("field2"));
Comment