I have a custom
views-view-list.tpl.php template that uses
foreach ($view->style_plugin->rendered_fields as $delta => $item)
to manipulate the fields at this template level rather than using
foreach ($rows as $id => $row)
and relying on
views-view-fields.tpl.php to render the HTML.
However, when using grouping in a view, the
views-view-list.tpl.php is called once for each grouping, but the first method renders all items, rather than just the ones in the current grouping.
How can I tell from
views-view-list.tpl.php which items belong to the current grouping?