Rich text in table?

Is it possible to have a text field that was set using a richtext control to be displayed in a table using the actual format instead of the html codes that show up by default?

Hi,

You can use generated column with Label with enabled HTML rendering:


usersTable.addGeneratedColumn("summary", entity -> {
    Label label = componentsFactory.createComponent(Label.class);
    label.setDatasource(usersTable.getItemDatasource(entity), "summary");
    label.setHtmlEnabled(true);
    return label;
});

Hi Yuriy,
Had to fiddle around a bit but got it to work very nicely. Thanks!
Berend