Wiki

Articles tagged with "clistview", sorted by date (updated)X
Displaying 1-6 of 6 result(s).

Filter / Search with CListView

Updated 4 months ago by JohnPollardHow-tos5 comments – viewed 17,620 times – ( +21 )
This is what I did. Its the EASIEST solution that I know of. I just reused the advanced search done in CGridView.

CGridView, CListView and CActiveDataProvider

Updated 8 months ago by softarkTutorials11 comments – viewed 32,203 times – ( +28 )
CGridView (or CListView) together with CActiveDataProvider is a very powerful combination of the built-in tools of Yii. But how do they work together to accomplish their fantastic functions? And what are you expected to do to use them and to customize their behaviors? This article explains the very basics of them.

Avoiding rendering entire page when using CGridView and CListView via AJAX

Updated 11 months ago by xrxHow-tos13 comments – viewed 22,262 times – ( +20 )
Since I used CGridView for a first time, I didn't like how it handled operations like sorting, filtering, changing page and etc using AJAX.

Special $variables in CGridView and CListView

Updated about a year ago by Steve FriedlTips8 comments – viewed 21,914 times – ( +18 / -1 )
The popular CListView and CGridView widgets each take a data provider and iterate over each data object produced, calling the user's code to render each row one at a time, and most are familiar with the use of the $data variable to represent the current model object or array.

CListView AJAX filtering

Updated 2 years ago by DragaTutorials14 comments – viewed 28,374 times – ( +14 )
This tutorial shows how to filter CListView items by AJAX, and it's compatible with disabled JavaScript users In my case this has been done to filter users list

Prevent asset publishing for CListView

Updated 2 years ago by MikeHow-tos2 comments – viewed 5,373 times – ( +2 )
If you don't want to use any of the AJAX features of CListView and thus want to prevent that it publishes any of its asset files, you can extend it and create a sub class like this:
tags: CListView, Assets