blob: a19bd1d5f3d6dc274d7edb39275c73e391e8538b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
package com.vaadin.tests.components.table;
import com.vaadin.tests.components.TestBase;
import com.vaadin.v7.ui.Table;
public class ColumnReorderingWithManyColumns extends TestBase {
private static final int NUM_COLS = 16;
@Override
protected void setup() {
Table table = new Table();
table.setSizeFull();
table.setColumnReorderingAllowed(true);
for (int i = 0; i < NUM_COLS; ++i) {
table.addContainerProperty("col-" + i, String.class, null);
}
addComponent(table);
}
@Override
protected String getDescription() {
return "When reordering columns via drag'n'drop, the drop marker is drawn too far to the right.";
}
@Override
protected Integer getTicketNumber() {
return 10890;
}
}
|