Skip to content

Commit

Permalink
fixed an issue where the dataView variable was being accessed but did…
Browse files Browse the repository at this point in the history
… not exist
  • Loading branch information
Paul Wong committed Dec 19, 2013
1 parent 0af2978 commit e09e2f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions slick.groupitemmetadataprovider.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
var item = this.getDataItem(args.row);
if (item && item instanceof Slick.Group && $(e.target).hasClass(options.toggleCssClass)) {
var range = _grid.getRenderedRange();
dataView.setRefreshHints({
this.getData().setRefreshHints({
ignoreDiffsBefore: range.top,
ignoreDiffsAfter: range.bottom
});
Expand All @@ -104,7 +104,7 @@
var item = this.getDataItem(activeCell.row);
if (item && item instanceof Slick.Group) {
var range = _grid.getRenderedRange();
dataView.setRefreshHints({
this.getData().setRefreshHints({
ignoreDiffsBefore: range.top,
ignoreDiffsAfter: range.bottom
});
Expand Down

0 comments on commit e09e2f6

Please sign in to comment.