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.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Grid.setLocale(..) does not update content.
Grid.setLocale(..) does not update content.
In my Grid implementation I have content in a column that is Locale-specific (Gender column)
That user can change the locale on the fly, but calliing Grid.setLocale(...) does not call the implemented Converter (GenderToLocaleNameConverter implements Converter<String, Gender >).convertToPresentation(..).
Therfore I implemented a "hack" analogue to http://stackoverflow.com/questions/31861375/vaadin-refresh-grid-after-row-modification:
// CR00036 + "hack" analogue to http://stackoverflow.com/questions/31861375/vaadin-refresh-grid-after-row-modification
List<SortOrder> sol = SearchResultTable.getSortOrder();
if(sol != null)
{
SearchResultTable.setSortOrder(sol);
} else {
// default sort order
SearchResultTable.sort("teamname");
}
This is working, but the sort indicator in the GUI disapears (see attachment). I can live with this, but is still a nuisance.
All this may be related to https://dev.vaadin.com/ticket/16765