PHPackages                             ozzyboshi/yii2-gridview-multiheader - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. ozzyboshi/yii2-gridview-multiheader

ActiveYii2-extension

ozzyboshi/yii2-gridview-multiheader
===================================

An extended gridview widget for Yii 2 with multi headers.

v1.01(8y ago)181[1 PRs](https://github.com/ozzyboshi/yii2-gridview-multiheader/pulls)BSD-3-ClausePHP

Since Apr 25Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ozzyboshi/yii2-gridview-multiheader)[ Packagist](https://packagist.org/packages/ozzyboshi/yii2-gridview-multiheader)[ Docs](https://github.com/Ozzyboshi/yii2-GridviewMultiheader)[ RSS](/packages/ozzyboshi-yii2-gridview-multiheader/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

yii2-gridview-multiheader
=========================

[](#yii2-gridview-multiheader)

A standard yii2 gridview with more than one header

Yii2 Gridview Multiheader.
==========================

[](#yii2-gridview-multiheader-1)

This widget is a Yii 2 extension of the regular Yii2 Gridview widget and allows to build a html table with more than a raw as header.

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
composer require ozzyboshi/yii2-gridview-multiheader

```

or add

```
"ozzyboshi/yii2-gridview-multiheader": "*"

```

to the require section of your `composer.json` file.

In the latter case you want probably to add a psr-4 autoloader to your `composer.json` file like this

```
"autoload" : {
        "classmap" : [
                "vendor/ozzyboshi/yii2-gridview-multiheader"
            ]
        },

```

and run composer dumpautoload

Usage:
------

[](#usage)

```
// MyView.php

use ozzyboshi\gridviewmultiheader\GridViewMultiheader as GridViewMultiheader;
...
