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.
Is there any way to make the editor to be bigger in order to use a TextArea that big?
Add a custom height via CSS by adding a new style using setRowStyleGenerator() to the Grid.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With