ListHandler<ContactInfo> sortHandler) {
// Checkbox column. This table will uses a checkbox column for selection.
// Alternatively, you can call dataGrid.setSelectionEnabled(true) to enable
// mouse selection.
Column<ContactInfo, Boolean> checkColumn =
new Column<ContactInfo, Boolean>(new CheckboxCell(true, false)) {
@Override
public Boolean getValue(ContactInfo object) {
// Get the value from the selection model.
return selectionModel.isSelected(object);
}