Hey,
Is it possible to make a group by few fields simultaneously?
For example I wanna make group by Country and City.
Country | City | District |
England | London | Greenwich |
England | London | Croydon |
England | London | Bromley |
I've tried to add group index:
groupModel : ['2fieldGroup']
and add
dataIndx : "2fieldGroup"
at first column of header.
After this for each row with data I add
$row['2fieldGroup'] = "England_London";
It works but in this case Country column shows
"England_London" instead of just
"England"Any suggestions?