我为我的Vaadin 7 Grid定义了一个自定义编辑器
longColumn.setEditorField(getTextArea());
Run Code Online (Sandbox Code Playgroud)
其中getTextArea()是:
private Field<?> getTextArea() {
TextArea ta=new TextArea();
ta.setWidth("300px");
ta.setHeight("200px");
return ta;
}
Run Code Online (Sandbox Code Playgroud)
TextArea似乎具有给定的大小,但它被切割到行的高度,并且完全不可用.

是否有任何方法可以使编辑器更大,以便使用大的TextArea?