private Function<TaskProgress, SafeHtml> getWrapableColouredCellFunc(
            final Function<TaskProgress, String> extractor) {
        final Function<TaskProgress, SafeHtml> colouredCellFunc = getColouredCellFunc(extractor);

        return (TaskProgress row) -> {
            final SafeHtml colouredText = colouredCellFunc.apply(row);
            if (wrapToggleButton.isOn()) {
                return HtmlBuilder.builder()
                        .div(htmlBuilder -> htmlBuilder.append(colouredText))
                        .toSafeHtml();
            } else {
                return colouredText;
            }
        };
    }
Add the columns to the table.
stroom-core-client/src/main/java/stroom/task/client/presenter/TaskManagerListPresenter.java