Vaadin 7 grid EditorField not showing

Hello everyone,

I am having a problem with the Vaadin Grid in Vaadin 7. I’ve enabled the inline editor in the following way:

            mitarbeiterGrid.setEditorEnabled(true);
            mitarbeiterGrid.setEditorCancelCaption("Abbrechen");
            mitarbeiterGrid.setEditorSaveCaption("Speichern");
            
            ComboBox fuehrtZdBox = new ComboBox();
            ComboBox nimmtTeilBox = new ComboBox();
            
            fuehrtZdBox.addItems("Ja", "Nein");
            fuehrtZdBox.setNullSelectionAllowed(false);
            nimmtTeilBox.addItems("Ja", "Nein");
            nimmtTeilBox.setNullSelectionAllowed(false);
            
            Column fuehrtZdColum = mitarbeiterGrid.getColumn("fuehrtZd");
            fuehrtZdColum.setEditorField(fuehrtZdBox);
            
            Column nimmtTeil = mitarbeiterGrid.getColumn("nimmtTeil");
            nimmtTeil.setEditorField(nimmtTeilBox);

I am using a BeanItemContainer to supply the grid with data. The grid is made with the Vaadin Designer and uses the following Content:

[code]

Mitarbeiter Führt ZD Nimmt Teil
[/code]so the colums refer to a attribute of an entity. Somehow I cant get the ComboBoxes to work in the inline editor, it's always just a nomral textfield. Here is a screenshot: [url=https://www2.pic-upload.de/img/34511056/Zwischenablage01.png] [img] https://www2.pic-upload.de/img/34511056/Zwischenablage01.png [/img] [/url]

What is going wrong here? Why doesnt it work?

I can’t see what the problem might be. Are you still having this issue? I would check if the getColumn() method returns the correct column? Are there any client or server side exceptions? Perhaps check the DOM to see if the combo boxes anyhwere show up at all.