Wiki

Articles tagged with "cgridview", sorted by commentsX
Displaying 21-30 of 65 result(s).

Filter / Search with CListView

Created 3 years ago by JohnPollardHow-tos7 comments – viewed 33,309 times – ( +28 ) – 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.

multiple CActiveDataProviders in one CGridView

Created about a year ago by Kostas Apazidis (KonApaz)How-tos6 comments – viewed 13,281 times – ( +7 / -1 ) – version 1.1
There is a few cases that you want more of one CActiveDataProvider displayed in one CGrideView How to do that?

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

Created about a year ago by VINAY Kr. SHARMAHow-tos6 comments – viewed 16,908 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 Date Range Without Cookies or Session (External Filtering)

Created about a year ago by ezekielnoobHow-tos6 comments – viewed 8,157 times – ( +5 )
Here's a tutorial on how to create a CGridView with external date filters the trick is to create hidden columns within the CGridView Filters something like in the example below:

Update CGridview row separately using ajax request

Created 9 months ago by Kostas Apazidis (KonApaz)How-tos6 comments – viewed 7,049 times – ( +6 ) – version 1.1
There are cases you want to update a record on CGridview directly

Adding a link to a CDataColumn

Created about a year ago by le_topTips6 comments – viewed 10,085 times – ( +3 ) – version 1.1
Backoffice Grid Views often list information like Posts for a blog while showing at the same time linked information like the User who wrote that post. For more efficiency, it is appropriate that the User is displayed as a link to the User detail page.

Update/delete model with CJuiDialog (works in CGridView)

Created 3 years ago by ifdatticTutorials6 comments – viewed 57,195 times – ( +15 ) – version 1.1
This is based on this article.

Change buttons on our CGridView extending yii

Created 3 years ago by sensorarioTips5 comments – viewed 24,469 times – ( +11 ) – version 1.1
In this tip, I'll help you to change in few second buttons of your CGridView. I hope you like it =).

Displaying image in a CGridView column.

Created 2 years ago by sirin kHow-tos5 comments – viewed 48,445 times – ( +13 / -1 ) – version 1.1
This is a simple example of how we can display images in CGridviews.Imagine that you have an image field in your table ie either a location field or a blob type field used to store the images.
tags: CGridView, image

Take more control of CGridview and model searching (related model or another controller)

Created about a year ago by Kostas Apazidis (KonApaz)How-tos5 comments – viewed 20,080 times – ( +5 ) – version 1.1
Suppose you have an Application in Yii that manages hotels each one has many customers.