Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: tbekos <tbekos@gmail.com>
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
ColumnListView | ||
This extension modified CListView to support multiple items per line. | ||
|
||
Yii default CListView displays one _view item per line. | ||
With this widget you can display multiple label/value pairs per line. | ||
|
||
Requirements | ||
|
||
Tested with Yii 1.1.10, but should work with previous versions too. | ||
|
||
Usage | ||
|
||
Checkout source code to your project, for example to ext.widgets | ||
Use it, as any input widget. | ||
|
||
Example: | ||
|
||
$this->widget('ext.widgets.ColumnListView', array( | ||
'dataProvider' => $dataProvider, | ||
'itemView' => '_view', | ||
'columns' => 3 | ||
)); |