Yii default CListView displays one _view item per line. With this widget you can display multiple items per line.
Screenshot ¶

Requirements ¶
Tested with Yii 1.1.10, but should work with previous versions too.
Usage ¶
- Extract class file or checkout source code to your project, for example to ext.widgets
- Use it, as any input widget. (Replace 'zii.widgets.CListView' with 'ext.widgets.EColumnListView')
Example: ¶
$this->widget('ext.widgets.EColumnListView', array(
'dataProvider' => $dataProvider,
'itemView' => '_view',
'columns' => 3
));
Resources ¶
Feedback ¶
Any comment, bug or feature request is highly appreciated.
User Contributed Notes 1
Thanks
Simple and very useful! thank you
Leave a comment
If you have any questions, please ask in the forum instead.
Join the conversation to share a note.