Adding generated Column to Tree Table

Hi,

I have added a generated Column to a treetable and it causes the lines to be displayed on separate lines - Is this a bug or once you create a generated column you have to take of this yourself in the styles sheets ?

The version of the TreeTable is 1.0.0 and the version of vaadin is 6.4.8

thanks, Edell.

Hi,

I didn’t get a reply to my previous question below but what I am trying to do is add a checkbox into my tree and I used a columnGenerator to display this but once its added to the table everything is displayed on separate lines. Does anyone have any other suggestions as to how I could this ?

thanks, Edell.

Same problem

TreeTable tr = new TreeTable();
tr.setSizeFull();
tr.addContainerProperty(“property”, String.class, “”, “Property”, null, null);
tr.addContainerProperty(“value”, Component.class, null, “Value”, null, null);

Object basics = tr.addItem(new Object {“Basics”, null}, “basics”);
Object name = tr.addItem(new Object {“Name”, new TextField()}, “name”);
Object type = tr.addItem(new Object {“Type”, new Combobox()}, “type”);
Object enabled = tr.addItem(new Object {“Enabled”, new CheckBox()}, “enabled”);

tr.setParent(name, basics);
tr.setParent(type, basics);
tr.setParent(enabled, basics);