@@ -94,6 +94,7 @@
     // Render each group separately and concatenate.  Plugins may override this
     // method if they wish some other way of handling grouping.
     $output = '';
+     $this->view->row_index = 0;
     foreach ($sets as $title => $records) {
       $markers = array();
       $offsets = array();
@@ -135,6 +136,8 @@
             'text' => $this->row_plugin->render($row),
           );
           $offsets[$markername]++;
+          $this->view->row_index++;
         }
       }
       if (!empty($markers)) { // Don't draw empty maps.
