PHPivot icon indicating copy to clipboard operation
PHPivot copied to clipboard

Columns titles not correctly displayed

Open aortegon-itc opened this issue 5 years ago • 0 comments

Excellent job, it works fine!! Nevertheless, I find that when I treat to display values, and use
->setPivotColumnFields("CatTemp") with "CatTemp" not equal to the values displayed, the Columns titles are wrong: the first row must be the second, and the second must be the first.

You can see https://antobot.ml/visorSPEC.php (where I'm testing), where the proble are showed. The first row must show 3 values ("Fijo", "Eventual", "[empty]") The second row must show 4 values ("NPT", "Salario", "SegSoc", "CosteS").

Data are arranged very well, but the first 4 columns (apart from the "Entidad" column), show the values for "NPT", "Salario", "SegSoc", "CosteS" that correspond to "Fijo"; the next 4 colums show the values for "NPT", "Salario", "SegSoc", "CosteS" that correspond to "Eventual", and the last 4 columns the corresponding values for "[empty]", so the columns titles are not correct.... ¿?

Thanks in advance!! Antonio

aortegon-itc avatar Jul 08 '19 23:07 aortegon-itc