t.addContainerProperty("Third", String.class, null);
for (int j = 1; j < 100; j++) {
t.addItem(new Object[] { "Foo " + j, "Bar " + j, "Lorem " + j }, j);
}
Hierarchical hc = t.getContainerDataSource();
hc.setChildrenAllowed(2, true);
for (int j = 4; j < 100; j++) {
hc.setParent(j, 2);
}
t.setColumnIcon("Third", new ThemeResource(
"../runo/icons/16/document.png"));
t.select(1);