Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

How to add, select then edit a row in a Grid

Sean Thomas
7 years ago Jul 19, 2015 6:50am
Tatu Lund
7 years ago Jul 20, 2015 7:40am
Sean Thomas
7 years ago Jul 21, 2015 1:15am
Sean Thomas
7 years ago Jul 21, 2015 2:06am

Problem sorted, the following code worked fine:\
User user = new User(mainMenuBuilder.getDataAccess());BeanItem<User> beanItem = container.addItem(user);fieldGroup.setItemDataSource(beanItem);grid.editItem(user);
 

Tatu Lund
7 years ago Jul 21, 2015 5:57am