GRID is not editable for me using 7.4.0

Hi, I am using vaadin 7.4.0 GRID. Below is the snippet of the code. Somehow, the GRID is not editable for me in the chrome.

    List<BondType> list = bondTypeDAO.findAllBondType();
    BeanItemContainer<BondType> container = new BeanItemContainer<BondType>(BondType.class,list);
    grid = new Grid(container);

// grid.setColumnOrder(“id”,“bondtype_name”,“bondtype_shortname”);
grid.setImmediate(false);
grid.setWidth(“100%”);
grid.setHeight(“100%”);
// grid.setVisible(true);
grid.setEditorEnabled(true);
grid.setSelectionMode(SelectionMode.SINGLE);
verticalLayout_1.addComponent(grid);

Hi,

The code looks alright, so it’s hard to say what your problem could be. Does the editor window even show when you double-click an item? Do the bean properties have setters, so that they are writable? (Can’t edit read-only properties.)

Hi, I didn’t have setEnabled(true) set. Thats why the Grid wasn’t editable in the browser.