private void initTableColumns() {
        // Name.
        final Column<DocRef, String> nameColumn = new Column<DocRef, String>(new TextCell()) {
            @Override
            public String getValue(final DocRef docRef) {
                return docRef.getName();
            }
        };
        dataGrid.addResizableColumn(nameColumn, "Name", 250);
        dataGrid.addEndColumn(new EndColumn<>());
    }
Add the columns to the table.
stroom-core-client/src/main/java/stroom/gitrepo/client/presenter/GitRepoListPresenter.java