Skip to content

Commit

Permalink
add +1 to range.bottom for ignoreDiffsAfter
Browse files Browse the repository at this point in the history
  • Loading branch information
icoxfog417 committed Mar 8, 2014
1 parent 33e75b0 commit 72d6e8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions slick.groupitemmetadataprovider.js
Expand Up @@ -82,8 +82,8 @@
var range = _grid.getRenderedRange();
this.getData().setRefreshHints({
ignoreDiffsBefore: range.top,
ignoreDiffsAfter: range.bottom
});
ignoreDiffsAfter: range.bottom + 1
}); //take diff till range.bottom , and ignore it after.

if (item.collapsed) {
this.getData().expandGroup(item.groupingKey);
Expand All @@ -106,8 +106,8 @@
var range = _grid.getRenderedRange();
this.getData().setRefreshHints({
ignoreDiffsBefore: range.top,
ignoreDiffsAfter: range.bottom
});
ignoreDiffsAfter: range.bottom + 1
}); //take diff till range.bottom , and ignore it after.

if (item.collapsed) {
this.getData().expandGroup(item.groupingKey);
Expand Down

0 comments on commit 72d6e8e

Please sign in to comment.