Hello,
Can someone advise how to use Renderer to display PopupView in a Grid’s cell?
It works correctly
grid.addComponentColumn(keyValue → {
VerticalLayout popupContent =new VerticalLayout();
TextField textField = new TextField(“textfield-Caption”);
textField.setValue(keyValue .getUsername());
textField.setSelection(0, textField.getValue().length());
popupContent.addComponent(textField);
textField.setValueChangeMode(ValueChangeMode.BLUR);
});
PopupView popup =new PopupView(keyValue .getUsername(), popupContent);
return popup;
}