Hello!
I use the DataGrid, the output of the cell htmlrender, but if you use the break line
, the height of the cell is not changed. Tell me how to make so that the cell displays the full value.
DataGrid.Column controliesCol = scenarioGradeTasksDataGrid.addGeneratedColumn("Controlies", new DataGrid.ColumnGenerator<ScenarioGradeTask, String>() {
@Override
public String getValue(DataGrid.ColumnGeneratorEvent<ScenarioGradeTask> event) {
String result = "";
for (Controly item : event.getItem().getControlies()) {
result += "<b>" + item.getName() + "</b> - " + item.getControlyRef().getValue()+"<br>";
}
return result;
}
controliesCol.setRenderer(scenarioGradeTasksDataGrid.createRenderer(DataGrid.HtmlRenderer.class));