Skip to content

Instantly share code, notes, and snippets.

View zkendall's full-sized avatar

Zack Kendall zkendall

View GitHub Profile
@zkendall
zkendall / TableEditableBySelection.java
Last active August 29, 2015 14:09 — forked from canthony/ExampleTableEditingUI.java
This example class shows a way of editing only the selected rows in a Vaadin table. This improves rendering performance on large tables.
import java.util.Collection;
import com.vaadin.data.Container;
import com.vaadin.data.util.BeanItemContainer;
import com.vaadin.ui.Component;
import com.vaadin.ui.DefaultFieldFactory;
import com.vaadin.ui.Field;
import com.vaadin.ui.Table;
@SuppressWarnings("serial")