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 about a year ago by VINAY Kr. SHARMAHow-tos5 comments – viewed 12,942 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 72,392 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 40,368 times – ( +24 / -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 28,950 times – ( +25 ) – 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 3 years ago by DragaTutorials16 comments – viewed 43,813 times – ( +16 ) – 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 7,043 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-tos16 comments – viewed 31,211 times – ( +23 ) – 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.