Categories
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
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 a Question
731 491 924 answers to any question