Back
groupByCol
Grouping and totaling of rows
groupByCol
Group values that are similar in a vertical span in the grid
Default:
Group similar values in a field in a vertical column span in the grid. This is a numeric value.

For example, setting groupByCol = 3 will group similar values for the first 3 columns in a grid. This will group all similar fields by rowspan for the first 3 columns in the grid. So in a grid containing 4 fields instead of seeing:

a b c 1
a b d 2
a c e 3
a c e 4

You will see

a b c 1
d 2
c e 3
4

Note that the raw value of the cell is used for grouping, before any powerLens is applied.

Syntax
$lens->groupByCol = 4;

 Basic:Yes  Advanced/Enterprise:Yes  DynamicEdit:Yes   [Version 4.1]