Skip to content

Commit

Permalink
Changed EntityGrid's refresh() method (eclipse-kapua#1755)
Browse files Browse the repository at this point in the history
Solves issue: eclipse-kapua#1724
Changed the way entityLoader's properties (offset and limit) are set in the refresh method. They are reused after refresh.

Signed-off-by: ct-ajovanovic <[email protected]>
  • Loading branch information
ct-ajovanovic authored and muros-ct committed Jun 1, 2018
1 parent 608892b commit 2c3f100
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ public void clearGridElement() {

public void refresh() {
entityCRUDToolbar.getRefreshEntityButton().setEnabled(false);
entityLoader.load(0, entityLoader.getLimit());
entityLoader.setReuseLoadConfig(true);
entityLoader.load();
}

public void refresh(GwtQuery query) {
Expand Down

0 comments on commit 2c3f100

Please sign in to comment.