selectedRecords.clear();
notifySelectionCleared();
}
public void rowSelected(int row, MultiRowSelection model) {
Record record = (Record) MultiRecordSelectionModel.this.table.getUserData(row, 0);
selectedRecords.add(record);
notifyRecordSelected(record);
}
public void rowUnselected(int row, MultiRowSelection model) {
Record record = (Record) MultiRecordSelectionModel.this.table.getUserData(row, 0);
selectedRecords.remove(record);
notifyRecordUnselected(record);
}
});