Why dont you just remove the unwanted cells instead of hiding with display: none in views_table_rowspan_preprocess_callback?

The below:

        foreach ($num_span as $row_span_index) {
          $vars['field_attributes'][$field_name][$row_span_index] = array('style' => 'display:none');
        }

should be this:

        foreach ($num_span as $row_span_index) {
          unset($vars['rows'][$row_span_index][$field_name]);
        }

thx

Comments

mibfire created an issue. See original summary.

lobodakyrylo’s picture

Status: Active » Closed (outdated)

This issue is outdated and 7.x version of this module is not longer maintaining. You can change status of this issue if it's needed.