5

I have defined a custom editor for my Vaadin 7 Grid

longColumn.setEditorField(getTextArea());

where getTextArea() is:

private Field<?> getTextArea() {
   TextArea ta=new TextArea();
   ta.setWidth("300px");
   ta.setHeight("200px");
   return ta;
}

The TextArea appears to be of the given size, but it is cut to the height of the row, and is completely unusable.

enter image description here

Is there any way to make the editor to be bigger in order to use a TextArea that big?

crigore
  • 400
  • 5
  • 23
Yampeku
  • 583
  • 1
  • 4
  • 21

1 Answers1

1

Add a custom height via CSS by adding a new style using setRowStyleGenerator() to the Grid.

muenzpraeger
  • 373
  • 1
  • 5