T
T
tigra2016-06-24 11:56:05
Yii
tigra, 2016-06-24 11:56:05

How to display fields in gridview headers in YII2?

For example, a query is made to the months of the year. In the gridview will be displayed in the format.
January
February
March
April

And I need it to be
January | February | March | April

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Michael, 2016-06-24
@springimport

Well, can you pass the columns parameter to the GridView ? You can. Here also transfer the array with months.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question