diff --git a/theme/views_data_export.theme.inc b/theme/views_data_export.theme.inc index 3bc39fe..e18b97a 100644 --- a/theme/views_data_export.theme.inc +++ b/theme/views_data_export.theme.inc @@ -279,6 +279,18 @@ function template_preprocess_views_data_export_msoffice_body(&$vars) { 'odd' => 'even', ); $class = 'even'; + + // Add grouping. + if (!empty($vars['title'])) { + $cell = array( + 'data' => ' ' . $vars['title'] . '', + 'colspan' => count($vars['header']), + ); + $output .= '