0

(Sorry my poor english)

I have data:

[
'mainGrp1'=>['subGrp1.1'=>[1,2,3],'subGrp1.2'=>[a,b,c],'subGrp1.3'=>[4,5,6]],
'mainGrp2'=>['subGrp2.1'=>[1,2,3,4,5],'subGrp2.2'=>[a,b,c,d,e]],
'mainGrp3'=>['subGrp3.1'=>[1,2]]
]

I like this result: excel result

My question: how to merge cells in row 1 dinamically size, and how to group headers name data?

Thank you! Andrew

Apuka73
  • 3
  • 1
  • Can you precise what is dynamic and what is fixed in your data structure ? – Skrol29 Feb 20 '21 at 01:30
  • @Skrol29 mainGrpX -> dynamix subGrpX.Y -> dynamic values->calulated sums Data structure about: Country[County][City] => [1,2,3] (ordered items) – Apuka73 Feb 22 '21 at 08:03

0 Answers0