Hi,
I've created a table as in the example:
Code:
List<TableColumn> columns = new ArrayList<TableColumn>();
columns.add(new TableColumn("cognome", "Cognome", 150));
columns.add(new TableColumn("nome", "Nome", 100));
columns.add(new TableColumn("telefono", "Telefono", 100));
columns.add(new TableColumn("email", "Email", 100));
columns.add(new TableColumn("tipoUtente", "Tipo Utente", 100));
// create the column model
TableColumnModel cm = new TableColumnModel(columns);
Table table = new Table(cm);
table.setAutoWidth(true);
table.setHorizontalScroll(false);
table.setHeight("350px");
ContentPanel panel = new ContentPanel();
panel.setFrame(true);
panel.setCollapsible(false);
panel.setAnimCollapse(false);
panel.setButtonAlign(HorizontalAlignment.CENTER);
panel.setIconStyle("icon-table");
panel.setHeading("Lista utenti:");
panel.setHeaderVisible(true);
panel.add(table);
panel.setBottomComponent(toolBar);
panel.setTopComponent(topBar);
lc = new LayoutContainer();
FlowLayout layout = new FlowLayout(0);
lc.setLayout(layout);
lc.add(panel)
lc.layout();
The result in IE7 is a broken view as in the attached image.
Thanks!