CListView

Hi,

In CListView it states you can use your own view template for creating the data grid rather than the standard grid view. However it does not states the variables to use in the view file you need to create to display the data, any ideas?

Read here:

http://www.yiiframework.com/doc/api/1.1/CListView#itemView-detail

http://www.yiiframework.com/doc/api/1.1/CListView#viewData-detail

Ok I have read those things, however it clearly states that CListView allows you to do pagination and sorting. However it still does not give any clear examples of how to achieve this. I know its possibly by writing the code from scratch etc. But judging by what it is stating it makes it sound very easy to do these things, almost like the code is already written for this, however it does not show any examples.

It should work the same as with a CGridView. So check out the CRUD example code and try to convert it to a CListView. Never tried a CListView myself, though.

Alright, thanks for the advice.