PHPivot
PHPivot copied to clipboard
Columns titles not correctly displayed
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