Grid component column validation error

Hi,

I have a grid with component columns. One of my columns is bound with a binder. It works well except that the component is not red when there is a validation error. The error message is shown on mouse over but the component is not showing any clue that it is invalid.

I suspect that the grid encapsulate the component columns or something like that that prevent the css to display correctly.

Do you have a workaround for this?

Thank you.

Strange it should work. You use vaadin 8.1 right? I got this same problem but mistake set when i use :

setEditorComponent( field, Bean::setSomething );

I found out that the setComponentError method must be redefined for customComponent embedding text field.
This way, the textfield is displayed red.