// Add a selection model to handle user selection.
final SingleSelectionModel<ItemsDataClan> selectionModel = new SingleSelectionModel<ItemsDataClan>();
tableClan.setSelectionModel(selectionModel);
selectionModel.addSelectionChangeHandler(new SelectionChangeEvent.Handler() {
public void onSelectionChange(SelectionChangeEvent event) {
ItemsDataClan selected = selectionModel.getSelectedObject();
if (selected != null) {
//Window.alert("You selected: " + selected.getName() +". You can find members now !");
idClan = selected.getId();
getMembersClan();
}
}