Skip to content

Commit

Permalink
feat: implement clear all feature
Browse files Browse the repository at this point in the history
Close #75
  • Loading branch information
hy8246 authored and javier-godoy committed Aug 9, 2021
1 parent a4262c7 commit 8fa5af2
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,11 @@ public void addRightGridClassName(String classname) {
public void removeRightGridClassName(String classname) {
getRightGrid().removeClassName(classname);
}


public void clearAll() {
updateSelection(new HashSet<>(), new HashSet<>(right.getItems()));
}

private void setDataProvider(ListDataProvider<T> dataProvider) {
leftGridDataProvider = dataProvider;
getLeftGrid().setDataProvider(dataProvider);
Expand Down

0 comments on commit 8fa5af2

Please sign in to comment.