: , , . , , . , .
, :
setHeight() .setPageLength(), - .requestRepaint() . , . , .
, , . , .
public class MyClass extends Table {
public MyClass(...)
{
this.setWidth("100%");
setupColumns();
setupBehavior();
addDataToTable();
adjustHeight();
}
public void adjustHeight()
{
this.setPageLength(this.getItemIds().size() + 1);
this.requestRepaint();
}
}
[EDIT/FOLLOW-UP] , , , setColumnExpandRatio() ( ). , -, (setColumnWidth()), , .