Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 2 weeks ago
Grid Utils SimpleStringConverter
I am havign a problem when using the EditButtonValueRenderer also the Simple String Converter
grid.getColumn("username")
.setRenderer(new EditButtonValueRenderer(new RendererClickListener() {
@Override
public void click(RendererClickEvent event) {
// TODO Auto-generated method stub
System.out.println("Change Privilege" + event.getPropertyId());
}
}), new SimpleStringConverter<String>(String.class) {
@Override
public String convertToPresentation(String value, Class<? extends String> targetType, Locale locale)
throws com.vaadin.data.util.converter.Converter.ConversionException {
// TODO Auto-generated method stub
return String.format("<b>%s</b>", value);
}
});
The column username is came from
GeneratedPropertyContainer
which means the username is came from the child value of the main class value
I use JPAContainer to put data on the grid..
when I run the application the grid is on the mess.
how do I solve this?
Last updated on
You cannot reply to this thread.