I use GridView for data output. I want to have two in thead instead of one line. Can this be done using only the capabilities of Yii2 itself?
At once I will make a reservation that I consider the option with the yii2-grid module as extreme.
Example. In the output table, among other things, there are two columns with the headings "Nearest display" and "Start time" :
| Ближайшая дата показа | Время начала | +-----------------------+--------------+ | 2015-10-23 | 19:30:00 | | 2015-12-03 | 19:00:00 | I would like to add an extra line above the header to merge the columns into groups according to the meaning:
| Ближайший показ | +------------+----------+ | Дата | Начало | +------------+----------+ | 2015-10-23 | 19:30:00 | | 2015-12-03 | 19:00:00 | How to add such a line in the header?