Answer the question
In order to leave comments, you need to log in
How to change data output in GridView?
Hello.
The GridView now renders like this:
id nummer cat_id count
1 001 1 12
2 001 2 40
3 001 3 2
4 002 1 11
5 002 2 16
6 002 3 1
nummer cat_id1 cat_id2 cat_id3
001 count count count
002 count count count
Answer the question
In order to leave comments, you need to log in
Form an appropriate dataProvider. GridView simply builds html based on the provider date and config passed to it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question