final Table table = new Table();
table.setImmediate(true);
table.addContainerProperty("p1", String.class, "p1");
table.addContainerProperty("p2", String.class, "p2");
for (int i = 0; i < 200; ++i) {
final Item item = table.getItem(table.addItem());
item.getItemProperty("p2").setValue(i + "");
item.getItemProperty("p1").setValue(i + "");
}
table.addListener(new ItemClickListener() {
@Override
public void itemClick(ItemClickEvent event) {
if (event.isDoubleClick()) {