public void setData(final List<DocRef> docRefs) {
        dataGrid.setRowData(0, docRefs);
        dataGrid.setRowCount(docRefs.size());
        if (NullSafe.hasItems(docRefs)) {
            selectionModel.setSelected(docRefs.get(0));
        } else {
            selectionModel.clear();
        }
    }
Add the columns to the table.
stroom-core-client/src/main/java/stroom/dictionary/client/presenter/DocRefListPresenter.java