herroffizier/yii2-columnized

Yii2 widget for representing data provider models in column format.

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Type:yii2-extension

1.0.0 2016-04-06 16:01 UTC

This package is not auto-updated.

Last update: 2024-04-13 16:40:14 UTC


README

Build Status Scrutinizer Code Quality Code Coverage

Yii2 Columnized is a widget that reprensents data provider models in column format.

Installation

Install extension with Composer:

composer require "herroffizier/yii2-columnized:@stable"

Usage

echo \herroffizier\yii2columnized\Columnized::widget([
    // data provider (ensure that pagination is disabled!)
    'dataProvider' => $dataProvider,
    // column count
    'columns' => 4,
    // item view
    'itemView' => '@app/views/common/_item',
]);

Refer to source code for more options.