Gilang Tartila
Gilang Tartila

Reputation: 25

How to use thumbnail view in yii2

How to replace a gridview to thumbnail view , as in the picture

https://drive.google.com/open?id=0B5gySyqZ4GGoa2ktOURFT21veFk

Help me please thanks

Upvotes: 0

Views: 272

Answers (1)

Mihai P.
Mihai P.

Reputation: 9357

Use ListView instead of Gridview, you can design everything you need.

http://www.yiiframework.com/doc-2.0/guide-output-data-widgets.html#listview

You can define a itemView with a view of your choice and do any kind of design to it. Pagination will work automatically.

Upvotes: 1

Related Questions