election.
     */
    checkboxColumn = new Column&lt;ContactInfo, Boolean&gt;(new CheckboxCell(true, false)) {
      @Override
      public Boolean getValue(ContactInfo object) {
        // Get the value from the selection model.
        return dataGrid.getSelectionModel().isSelected(object);
      }
    };
    dataGrid.setColumnWidth(0, 40, Unit.PX);

    // View friends.
    SafeHtmlRenderer&lt;String&gt; anchorRenderer = new AbstractSafeHtmlRenderer&lt;String&gt;() {
      @Override
      public SafeHtml