我是 vaadin 框架的新手,一切正常,直到...表头无法正确显示,...我正在开发一个在 exoplatform 上运行的 portlet,我正在使用 vaadin 6,我的表只显示第一个标题,我尝试了一切,但似乎没有任何效果。这是我的代码:
table = new Table("my table");
table.setColumnHeaderMode(Table.COLUMN_HEADER_MODE_EXPLICIT);
table.setPageLength(9);
table.setWidth("100%");
table.addContainerProperty("sad", String.class, null);
table.addContainerProperty("asd", Integer.class, null);
table.addContainerProperty("qwerty", Integer.class, null);
table.setColumnHeaderMode(Table.COLUMN_HEADER_MODE_EXPLICIT);
table.setColumnHeader("sad", "sad");
table.setColumnHeader("asd", "asd");
table.setColumnHeader("qwerty", "qwerty");