Wiki

Articles tagged with "clistview"X
Displaying 1-7 of 7 result(s).

How to avoid rendering entire page on AJAX call for CGridView and CListView

Created 10 months ago by VINAY Kr. SHARMAHow-tos5 comments – viewed 11,110 times – ( +5 )
CGridView and CListView are great widget to populate records and also provides features like ajax update, column sort, search, drop-down filter, ajax content load and many more...

CGridView, CListView and CActiveDataProvider

Created about a year ago by softarkTutorials21 comments – viewed 66,632 times – ( +45 ) – version 1.1
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.

Special $variables in CGridView and CListView

Created 2 years ago by Steve FriedlTips10 comments – viewed 37,238 times – ( +23 / -1 ) – version 1.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.

Filter / Search with CListView

Created 2 years ago by JohnPollardHow-tos7 comments – viewed 27,092 times – ( +24 ) – version 1.1
This is what I did. Its the EASIEST solution that I know of. I just reused the advanced search done in CGridView.

CListView AJAX filtering

Created 2 years ago by DragaTutorials16 comments – viewed 40,851 times – ( +15 ) – version 1.1
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

Created 3 years ago by MikeHow-tos2 comments – viewed 6,792 times – ( +2 ) – version 1.1
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

Avoiding rendering entire page when using CGridView and CListView via AJAX

Created 3 years ago by xrxHow-tos14 comments – viewed 29,731 times – ( +22 ) – version 1.1
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.