Wiki

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

Filter / Search with CListView

Created 3 years ago by JohnPollardHow-tos7 comments – viewed 30,891 times – ( +27 ) – 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 KonApazHow-tos6 comments – viewed 10,933 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?

Update CGridview row separately using ajax request

Created 4 months ago by KonApazHow-tos6 comments – viewed 3,977 times – ( +5 ) – 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 8,686 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 53,738 times – ( +15 ) – version 1.1
This is based on this article.

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 14,624 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-tos5 comments – viewed 6,633 times – ( +4 )
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:

Change buttons on our CGridView extending yii

Created 2 years ago by sensorarioTips5 comments – viewed 23,199 times – ( +10 ) – 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 44,797 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 9 months ago by KonApazHow-tos5 comments – viewed 15,292 times – ( +5 ) – version 1.1
Suppose you have an Application in Yii that manages hotels each one has many customers.