diff --git a/slick.groupitemmetadataprovider.js b/slick.groupitemmetadataprovider.js
index <HASH>..<HASH> 100644
--- a/slick.groupitemmetadataprovider.js
+++ b/slick.groupitemmetadataprovider.js
@@ -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
         });
@@ -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
             });
fixed an issue where the dataView variable was being accessed but did not exist